diff --git a/helm/argocd/Chart.yaml b/helm/argocd/Chart.yaml index 2cc7a55..268e5cd 100644 --- a/helm/argocd/Chart.yaml +++ b/helm/argocd/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: argocd-configuration -version: 0.1.2 +version: 0.1.3 type: application description: "ArgoCD configuration which requires Argo CD to be installed separately." maintainers: @@ -8,10 +8,8 @@ maintainers: url: https://2martens.de annotations: artifacthub.io/changes: | - - kind: removed - description: Removed direct Argo CD dependency - kind: changed - description: Changed chart name + description: Made ingressClassName configurable artifacthub.io/signKey: | fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc diff --git a/helm/argocd/templates/argocd-ingress.yaml b/helm/argocd/templates/argocd-ingress.yaml index 6881b05..0a8cda6 100644 --- a/helm/argocd/templates/argocd-ingress.yaml +++ b/helm/argocd/templates/argocd-ingress.yaml @@ -12,7 +12,7 @@ metadata: # nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" spec: - ingressClassName: public + ingressClassName: {{ .Values.ingress.className }} rules: - host: {{ tpl (quote .Values.ingress.host) . }} http: diff --git a/helm/argocd/values.yaml b/helm/argocd/values.yaml index c232f7a..36e6f24 100644 --- a/helm/argocd/values.yaml +++ b/helm/argocd/values.yaml @@ -7,6 +7,7 @@ ingress: # variable is templated host: argocd.k8s.{{ .Values.environment }}.2martens.de certIssuer: lets-encrypt + className: default # should be overriden for the specific installation environment: "" \ No newline at end of file