fix(argo-workflows): use template for all resource names (#759)
This commit is contained in:
parent
e2975df4c0
commit
5183243ce2
7 changed files with 11 additions and 20 deletions
|
@ -4,7 +4,7 @@
|
||||||
/charts/ @mkilchhofer
|
/charts/ @mkilchhofer
|
||||||
|
|
||||||
# Argo Workflows
|
# Argo Workflows
|
||||||
/charts/argo @stefansedich @paguos @vladlosev @yann-soubeyrand @oliverbaehler
|
/charts/argo-workflows/ @stefansedich @paguos @vladlosev @yann-soubeyrand @oliverbaehler
|
||||||
|
|
||||||
# Argo CD
|
# Argo CD
|
||||||
/charts/argo-cd @seanson @davidkarlsen @mr-sour @yann-soubeyrand @oliverbaehler
|
/charts/argo-cd @seanson @davidkarlsen @mr-sour @yann-soubeyrand @oliverbaehler
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.4
|
version: 0.1.5
|
||||||
appVersion: "v3.0.2"
|
appVersion: "v3.0.2"
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
1. Get Argo Server external IP/domain by running:
|
1. Get Argo Server external IP/domain by running:
|
||||||
|
|
||||||
kubectl --namespace {{ .Release.Namespace }} get services -o wide | grep {{ .Release.Name }}-{{ .Values.server.name }}
|
kubectl --namespace {{ .Release.Namespace }} get services -o wide | grep {{ template "argo-workflows.server.fullname" . }}
|
||||||
|
|
||||||
2. Submit the hello-world workflow by running:
|
2. Submit the hello-world workflow by running:
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ Create the name of the server service account to use
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "argo-workflows.serverServiceAccountName" -}}
|
{{- define "argo-workflows.serverServiceAccountName" -}}
|
||||||
{{- if .Values.server.serviceAccount.create -}}
|
{{- if .Values.server.serviceAccount.create -}}
|
||||||
{{ default (include "argo-workflows.fullname" .) .Values.server.serviceAccount.name }}
|
{{ default (include "argo-workflows.server.fullname" .) .Values.server.serviceAccount.name }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ default "default" .Values.server.serviceAccount.name }}
|
{{ default "default" .Values.server.serviceAccount.name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -76,7 +76,7 @@ Create the name of the controller service account to use
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "argo-workflows.controllerServiceAccountName" -}}
|
{{- define "argo-workflows.controllerServiceAccountName" -}}
|
||||||
{{- if .Values.controller.serviceAccount.create -}}
|
{{- if .Values.controller.serviceAccount.create -}}
|
||||||
{{ default (include "argo-workflows.fullname" .) .Values.controller.serviceAccount.name }}
|
{{ default (include "argo-workflows.controller.fullname" .) .Values.controller.serviceAccount.name }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ default "default" .Values.controller.serviceAccount.name }}
|
{{ default "default" .Values.controller.serviceAccount.name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -2,10 +2,7 @@
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
name: {{ template "argo-workflows.fullname" . }}-view
|
||||||
helm.sh/hook: pre-install
|
|
||||||
helm.sh/hook-delete-policy: before-hook-creation
|
|
||||||
name: argo-workflows-aggregate-to-view
|
|
||||||
labels:
|
labels:
|
||||||
rbac.authorization.k8s.io/aggregate-to-view: "true"
|
rbac.authorization.k8s.io/aggregate-to-view: "true"
|
||||||
rules:
|
rules:
|
||||||
|
@ -30,10 +27,7 @@ rules:
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
name: {{ template "argo-workflows.fullname" . }}-edit
|
||||||
helm.sh/hook: pre-install
|
|
||||||
helm.sh/hook-delete-policy: before-hook-creation
|
|
||||||
name: argo-workflows-aggregate-to-edit
|
|
||||||
labels:
|
labels:
|
||||||
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
||||||
rules:
|
rules:
|
||||||
|
@ -63,10 +57,7 @@ rules:
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
name: {{ template "argo-workflows.fullname" . }}-admin
|
||||||
helm.sh/hook: pre-install
|
|
||||||
helm.sh/hook-delete-policy: before-hook-creation
|
|
||||||
name: argo-workflows-aggregate-to-admin
|
|
||||||
labels:
|
labels:
|
||||||
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -135,7 +135,7 @@ rules:
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template
|
name: {{ template "argo-workflows.controller.fullname" . }}-cluster-template
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- argoproj.io
|
- argoproj.io
|
||||||
|
|
|
@ -93,7 +93,7 @@ controller:
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
name: argo
|
name: ""
|
||||||
# Annotations applied to created service account
|
# Annotations applied to created service account
|
||||||
annotations: {}
|
annotations: {}
|
||||||
name: workflow-controller
|
name: workflow-controller
|
||||||
|
@ -190,7 +190,7 @@ server:
|
||||||
# servicePortName: http
|
# servicePortName: http
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
name: argo-server
|
name: ""
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# Annotations to be applied to the UI Service
|
# Annotations to be applied to the UI Service
|
||||||
serviceAnnotations: {}
|
serviceAnnotations: {}
|
||||||
|
|
Loading…
Reference in a new issue