diff --git a/charts/kubechecks/Chart.yaml b/charts/kubechecks/Chart.yaml index e7466ea6..cc1dc19d 100644 --- a/charts/kubechecks/Chart.yaml +++ b/charts/kubechecks/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: kubechecks description: A Helm chart for kubechecks -version: 0.4.5 +version: 0.4.6 type: application maintainers: - name: zapier diff --git a/charts/kubechecks/templates/deployment.yaml b/charts/kubechecks/templates/deployment.yaml index 56ff5d10..33cded7a 100644 --- a/charts/kubechecks/templates/deployment.yaml +++ b/charts/kubechecks/templates/deployment.yaml @@ -32,6 +32,10 @@ spec: {{- end }} securityContext: {{- toYaml .Values.deployment.podSecurityContext | nindent 8 }} + {{- with .Values.deployment.initContainers }} + initContainers: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ .Chart.Name }} {{- with .Values.deployment.image }} @@ -101,4 +105,4 @@ spec: {{- end }} {{- with .Values.deployment.volumes }} volumes: {{ . | toYaml | nindent 8 }} - {{- end }} + {{- end }} \ No newline at end of file diff --git a/charts/kubechecks/templates/service.yaml b/charts/kubechecks/templates/service.yaml index 0129055a..a802d9f3 100644 --- a/charts/kubechecks/templates/service.yaml +++ b/charts/kubechecks/templates/service.yaml @@ -3,6 +3,8 @@ apiVersion: v1 kind: Service metadata: name: {{ include "kubechecks.fullname" . }} + annotations: + {{ .Values.service.annotations | toYaml | nindent 4 }} labels: {{- include "kubechecks.labels" . | nindent 4 }} spec: diff --git a/charts/kubechecks/values.schema.json b/charts/kubechecks/values.schema.json index c6a64174..d8d243c0 100644 --- a/charts/kubechecks/values.schema.json +++ b/charts/kubechecks/values.schema.json @@ -102,6 +102,9 @@ "securityContext": { "type": "object" }, + "initContainers": { + "type": "array" + }, "startupProbe": { "type": "object" }, @@ -192,6 +195,9 @@ }, "name": { "type": "string" + }, + "annotations": { + "$ref": "#/$defs/key-value-map" } } },