Open RFlintstone opened 3 months ago
Hi, can you tell me what problems did you run into? Using helm
with ArgoCD
should work as is? Thanks.
Hi, can you tell me what problems did you run into? Using
helm
withArgoCD
should work as is? Thanks.
It doesnt seem to deploy at all. When running kubectl on the namespace it should deploy to it says it couldn't find any resources. Helm does deploy it normally on its own but I can't find any errors regarding the deployment as it thinks it has fetched everything.
I'll give it a try tonight and see if I can get it to work. Will report back.
I'll give it a try tonight and see if I can get it to work. Will report back.
Any updates?
@RFlintstone sorry got sidetracked with other issues, I'll definitely try it in a day or two at most.
@RFlintstone sorry got sidetracked with other issues, I'll definitely try it in a day or two at most.
Alright!
@RFlintstone it works fine for me with the following config:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: uptime-kuma
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://helm.irsigler.cloud
chart: uptime-kuma
targetRevision: 2.18.0
helm:
valuesObject:
ingress:
enabled: true
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure,web
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
hosts:
- host: uptime.my.domain
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- uptime.my.domain
destination:
namespace: uptime-kuma
server: https://kubernetes.default.svc
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
selfHeal: true
@RFlintstone worked for me
Here's my configuration if it helps
Chart.yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: uptime-kuma
namespace: argocd
spec:
destination:
namespace: uptime-kuma
name: enterprise
project: default
sources:
# Chart from Chart Repo
- chart: uptime-kuma
repoURL: https://helm.irsigler.cloud
targetRevision: 2.18.0
helm:
valueFiles:
- $values/enterprise/uptime-kuma/values.yaml
- $values/enterprise/uptime-kuma/pvc.yaml
# Values from Git
- repoURL: 'https://git.enterprise.com/user/argocd'
targetRevision: HEAD
ref: values
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- Replace=true
- ServerSideApply=true
values.yaml
service:
type: LoadBalancer
port: 3001
volume:
enabled: true
accessMode: ReadWriteOnce
size: 4Gi
# If you want to use a storage class other than the default, uncomment this
# line and define the storage class name
# storageClassName:
# Reuse your own pre-existing PVC.
existingClaim: "uptime-kuma"
pvc.yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
namespace: uptime-kuma
name: uptime-kuma
spec:
storageClassName: slow-storage
accessModes:
- ReadWriteMany
resources:
requests:
storage: 4Gi
Also, have an ingress setup if you need help with that. Let me know if I can help you in anyway. Thanks.
Thank you, I didn't have the time to try it out yet but I'm going to try to do this today or tomorrow.
@RFlintstone worked for me
Here's my configuration if it helps
Chart.yaml
apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: uptime-kuma namespace: argocd spec: destination: namespace: uptime-kuma name: enterprise project: default sources: # Chart from Chart Repo - chart: uptime-kuma repoURL: https://helm.irsigler.cloud targetRevision: 2.18.0 helm: valueFiles: - $values/enterprise/uptime-kuma/values.yaml - $values/enterprise/uptime-kuma/pvc.yaml # Values from Git - repoURL: 'https://git.enterprise.com/user/argocd' targetRevision: HEAD ref: values syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true - Replace=true - ServerSideApply=true
values.yaml
service: type: LoadBalancer port: 3001 volume: enabled: true accessMode: ReadWriteOnce size: 4Gi # If you want to use a storage class other than the default, uncomment this # line and define the storage class name # storageClassName: # Reuse your own pre-existing PVC. existingClaim: "uptime-kuma"
pvc.yaml
kind: PersistentVolumeClaim apiVersion: v1 metadata: namespace: uptime-kuma name: uptime-kuma spec: storageClassName: slow-storage accessModes: - ReadWriteMany resources: requests: storage: 4Gi
Also, have an ingress setup if you need help with that. Let me know if I can help you in anyway. Thanks.
This didn't seem to work for me. (Also didn't want to deploy as it should). @jpjonte's version did deploy although the ingress didn't want serve the app even though everything was on the right namespace. (And to be honest, I rather use manifests to deploy instead of type argoproj.io/v1alpha1
as it gives you a bit more control)
Hey @RFlintstone , is your deployment now working via ArgoCD or do you still face some issues?
Hey @RFlintstone , is your deployment now working via ArgoCD or do you still face some issues?
Still facing issues, sadly.
Ok, will try to have a look into it. Need first to get some ArgoCD setup running, so sadly I can not give any ETA...
Ok, will try to have a look into it. Need first to get some ArgoCD setup running, so sadly I can not give any ETA...
Any update? 🙂
Is it possible / do you have a recommended way to easily deploy the helm image with ArgoCD? I got it working with the command but I much rather use Argo.
This only seems to work with
helm upgrade
for me: