mirror of
https://github.com/bitnami/charts.git
synced 2026-04-04 00:07:13 +08:00
* Create new Argo Workflows Helm Chart Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add server component Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add controller component Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix templates issues Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix chart issues Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add NOTES.txt Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add README Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix bugs Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix linter Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Add README parameters table Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix issue in NOTES.txt Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Address suggested changes Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Move configuration from configmap to values.yaml Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Refactor database configuration Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix linter issues Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Address changes Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix images repository and tags Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix NOTES.txt trim spaces Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Address suggested changes Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Sync dependencies Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix typos * Execute readme-generator Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Use Postgresql by default Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com> * Fix typo Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com>
175 lines
4.1 KiB
YAML
175 lines
4.1 KiB
YAML
{{- if .Values.controller.rbac.create }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
{{- if .Values.rbac.singleNamespace }}
|
|
kind: Role
|
|
{{- else }}
|
|
kind: ClusterRole
|
|
{{- end }}
|
|
metadata:
|
|
name: {{ include "argo-workflows.controller.fullname" . }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
app.kubernetes.io/part-of: argo-workflows
|
|
app.kubernetes.io/component: controller
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- pods
|
|
- pods/exec
|
|
verbs:
|
|
- create
|
|
- get
|
|
- list
|
|
- watch
|
|
- update
|
|
- patch
|
|
- delete
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- configmaps
|
|
verbs:
|
|
- get
|
|
- watch
|
|
- list
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- persistentvolumeclaims
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- workflows
|
|
- workflows/finalizers
|
|
- workflowtasksets
|
|
- workflowtasksets/finalizers
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- update
|
|
- patch
|
|
- delete
|
|
- create
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- workflowtemplates
|
|
- workflowtemplates/finalizers
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- cronworkflows
|
|
- cronworkflows/finalizers
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- update
|
|
- patch
|
|
- delete
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- events
|
|
verbs:
|
|
- create
|
|
- patch
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- serviceaccounts
|
|
verbs:
|
|
- get
|
|
- list
|
|
- apiGroups:
|
|
- "policy"
|
|
resources:
|
|
- poddisruptionbudgets
|
|
verbs:
|
|
- create
|
|
- get
|
|
- delete
|
|
{{- if (include "argo-workflows.controller.persistence.enabled" .) }}
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- secrets
|
|
resourceNames:
|
|
- {{ include "argo-workflows.controller.database.username.secret" . }}
|
|
- {{ include "argo-workflows.controller.database.password.secret" . }}
|
|
verbs:
|
|
- get
|
|
{{- end }}
|
|
- apiGroups:
|
|
- coordination.k8s.io
|
|
resources:
|
|
- leases
|
|
verbs:
|
|
- create
|
|
- apiGroups:
|
|
- coordination.k8s.io
|
|
resources:
|
|
- leases
|
|
resourceNames:
|
|
{{- if .Values.controller.instanceID.enabled }}
|
|
{{- if .Values.controller.instanceID.useReleaseName }}
|
|
- workflow-controller-{{ .Release.Name }}
|
|
- workflow-controller-lease-{{ .Release.Name }}
|
|
{{- else }}
|
|
- workflow-controller-{{ .Values.controller.instanceID.explicitID }}
|
|
- workflow-controller-lease-{{ .Values.controller.instanceID.explicitID }}
|
|
{{- end }}
|
|
{{- else }}
|
|
- workflow-controller
|
|
- workflow-controller-lease
|
|
{{- end }}
|
|
verbs:
|
|
- get
|
|
- watch
|
|
- update
|
|
- patch
|
|
- delete
|
|
|
|
{{- if .Values.controller.clusterWorkflowTemplates.enabled }}
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "argo-workflows.controller.fullname" . }}-cluster-template
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
app.kubernetes.io/part-of: argo-workflows
|
|
app.kubernetes.io/component: controller
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
rules:
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- clusterworkflowtemplates
|
|
- clusterworkflowtemplates/finalizers
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
{{- end }}
|
|
{{- end }} |