argocd deploy keda helm chart with values files from a different repository
Argocd implementation is so much simpler compare to flux. All you need is to create an Application object and then configure the helm charts and where to get your value files.
Please also note under the Application -> Spec -> sources -> helm -> valueFiles - i included the path there too. No additional row. Done.
The only thing i need to do is create the keda namespace.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: keda-deployment
namespace: argocd
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: keda
sources:
# Source 1: The Helm Chart (e.g., KEDA)
- repoURL: https://kedacore.github.io/charts
chart: keda
targetRevision: 2.15.0 # Use the specific chart version
helm:
valueFiles:
# Reference the second source using $ + the 'ref' name
- $values-repo/keda/values.yaml
# Source 2: Your Git Repository containing the values file
- repoURL: https://github.com/kepungnzai/keda-aks-deploy
targetRevision: main
ref: values-repo # This name is used as the variable prefix above
syncPolicy:
automated:
prune: true
selfHeal: true
And my keda is up and running
Comments