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
This commit is contained in:
louis-murray 2018-06-04 10:39:53 -04:00 committed by Alexander Matyushentsev
parent 92599031ec
commit 1fed7f37cf
19 changed files with 213 additions and 43 deletions

View file

@ -1,20 +1,21 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-{{ .Values.controllerName }}-configmap
name: {{ .Release.Name }}-{{ .Values.controller.name }}-configmap
labels:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
namespace: {{ .Release.Namespace }}
data:
config: |
{{- if .Values.useReleaseAsInstanceID }}
{{- if .Values.controller.useReleaseAsInstanceID }}
instanceID: {{ .Release.Name }}
{{- else }}
instanceID: {{ .Values.instanceID }}
instanceID: {{ .Values.controller.instanceID }}
{{- end }}
artifactRepository:
{{- if or .Values.installMinio .Values.useDefaultArtifactRepo }}
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
s3:
{{- if .Values.useStaticCredentials }}
accessKeySecret:
@ -24,8 +25,8 @@ data:
key: {{ .Values.artifactRepository.s3.secretKeySecret.key }}
name: {{ .Values.artifactRepository.s3.secretKeySecret.name | default (printf "%s-%s" .Release.Name "minio-user") }}
{{- end }}
bucket: {{ .Values.artifactRepository.s3.bucket | default .Values.minioBucketName }}
bucket: {{ .Values.artifactRepository.s3.bucket | default .Values.minio.defaultBucket.name }}
endpoint: {{ .Values.artifactRepository.s3.endpoint | default (printf "%s-%s" .Release.Name "minio-svc:9000") }}
insecure: {{ .Values.artifactRepository.s3.insecure }}
{{- end}}
executorImage: "{{ .Values.imagesNamespace }}/{{ .Values.executorImage }}:{{ .Values.imagesTag }}"
executorImage: "{{ .Values.images.namespace }}/{{ .Values.images.executor }}:{{ .Values.images.tag }}"