diff --git a/charts/argo-rollouts/Chart.yaml b/charts/argo-rollouts/Chart.yaml index dfc42e56..4bf8c39b 100644 --- a/charts/argo-rollouts/Chart.yaml +++ b/charts/argo-rollouts/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.9.1" description: A Helm chart for Argo Rollouts name: argo-rollouts -version: 0.3.8 +version: 0.3.9 icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png home: https://github.com/argoproj/argo-helm maintainers: diff --git a/charts/argo-rollouts/templates/argo-rollouts-aggregate-roles.yaml b/charts/argo-rollouts/templates/argo-rollouts-aggregate-roles.yaml index 7f94befa..2cc55d1f 100644 --- a/charts/argo-rollouts/templates/argo-rollouts-aggregate-roles.yaml +++ b/charts/argo-rollouts/templates/argo-rollouts-aggregate-roles.yaml @@ -1,3 +1,4 @@ +{{- if .Values.clusterInstall }} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -75,3 +76,4 @@ rules: - patch - update - watch +{{- end }} diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 3f0641f4..cd8dcbe1 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.11.7 description: A Helm chart for Argo Workflows name: argo -version: 0.13.9 +version: 0.13.10 icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm maintainers: diff --git a/charts/argo/templates/server-deployment.yaml b/charts/argo/templates/server-deployment.yaml index bae59607..832fd37d 100644 --- a/charts/argo/templates/server-deployment.yaml +++ b/charts/argo/templates/server-deployment.yaml @@ -38,6 +38,9 @@ spec: {{- if .Values.server.extraArgs }} {{- toYaml .Values.server.extraArgs | nindent 10 }} {{- end }} + {{- if .Values.server.secure }} + - "--secure" + {{- end }} {{- if .Values.singleNamespace }} - "--namespaced" {{- end }} @@ -52,7 +55,11 @@ spec: httpGet: path: / port: 2746 + {{- if .Values.server.secure }} + scheme: HTTPS + {{- else }} scheme: HTTP + {{- end }} initialDelaySeconds: 10 periodSeconds: 20 env: diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index 5a9a452b..67c9af29 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -201,6 +201,12 @@ server: # PriorityClass: system-cluster-critical priorityClassName: "" + # Run the argo server in "secure" mode. Configure this value instead of + # "--secure" in extraArgs. See the following documentation for more details + # on secure mode: + # https://argoproj.github.io/argo/tls/#encrypted + secure: false + # Extra arguments to provide to the Argo server binary. extraArgs: []