argocd-helm/charts/argo/templates/workflow-controller-deployment.yaml
louis-murray 1fed7f37cf Updating helm chart and improving style (#7)
* moved workflow CRD into helpers.tpl

* added new values to values.yaml

* added UI cluster role and binding

* add workflow controller cluster role and binding

* added ui service account creator

* added workflow controller service account yaml

* reformatted values.yaml to group similar items

* tweaked files to reflect values.yaml changes

* setup minio stuff to match subchart model

* changes to reflect minio rework

* added README to explain chart a bit

* changes made to reflect minio values changes

* changes to reflect minio values changes (again)

* updating minio to latest version

* move the crd definition into it's own tpl file
2018-06-04 07:39:53 -07:00

28 lines
979 B
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Values.controller.name}}
labels:
app: {{ .Release.Name }}-{{ .Values.controller.name}}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
heritage: {{ .Release.Service }}
spec:
template:
metadata:
labels:
app: {{ .Release.Name }}-{{ .Values.controller.name}}
release: {{ .Release.Name }}
spec:
containers:
- name: controller
image: "{{ .Values.images.namespace }}/{{ .Values.images.controller }}:{{ .Values.images.tag }}"
command: [ "workflow-controller" ]
args: ["--configmap", "{{ .Release.Name }}-{{ .Values.controller.name}}-configmap"]
env:
- name: ARGO_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace