diff --git a/stable/kuberhealthy/Chart.yaml b/stable/kuberhealthy/Chart.yaml index b16db4893b..9cfd041701 100644 --- a/stable/kuberhealthy/Chart.yaml +++ b/stable/kuberhealthy/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v1 -appVersion: "v1.0.1" +appVersion: "v1.0.2" home: https://comcast.github.io/kuberhealthy/ description: The official Helm chart for Kuberhealthy. name: kuberhealthy -version: 1.1.2 +version: 1.2.0 maintainers: - name: integrii email: eric.greer@comcast.com diff --git a/stable/kuberhealthy/README.md b/stable/kuberhealthy/README.md index b1b2007803..24b3cdff0e 100644 --- a/stable/kuberhealthy/README.md +++ b/stable/kuberhealthy/README.md @@ -37,7 +37,7 @@ app: name: "kuberhealthy" # what to name the kuberhealthy deployment image: repository: quay.io/comcast/kuberhealthy - tag: v1.0.1 + tag: v1.0.2 resources: requests: cpu: 100m @@ -54,6 +54,12 @@ deployment: maxUnavailable: 1 imagePullPolicy: IfNotPresent namespace: kuberhealthy + command: + - /app/kuberhealthy + # use this to override location of the test-image, see: https://github.com/Comcast/kuberhealthy/blob/master/docs/FLAGS.md + # args: + # - -dsPauseContainerImageOverride + # - your-repo/google_containers/pause:0.8.0 securityContext: # default container security context runAsNonRoot: true runAsUser: 999 diff --git a/stable/kuberhealthy/templates/deployment.yaml b/stable/kuberhealthy/templates/deployment.yaml index 27456c2749..09e0215728 100644 --- a/stable/kuberhealthy/templates/deployment.yaml +++ b/stable/kuberhealthy/templates/deployment.yaml @@ -30,6 +30,11 @@ spec: automountServiceAccountToken: true containers: - image: {{ .Values.image.repository }}:{{ .Values.image.tag }} + command: {{ .Values.deployment.command }} + {{- if .Values.deployment.args }} + args: +{{ toYaml .Values.deployment.args | nindent 8 }} + {{- end }} securityContext: {{- toYaml .Values.securityContext | nindent 10 -}} imagePullPolicy: {{ .Values.deployment.imagePullPolicy }} diff --git a/stable/kuberhealthy/values.yaml b/stable/kuberhealthy/values.yaml index 4cba092154..b838f8d9a8 100644 --- a/stable/kuberhealthy/values.yaml +++ b/stable/kuberhealthy/values.yaml @@ -11,7 +11,7 @@ prometheus: image: repository: quay.io/comcast/kuberhealthy - tag: v1.0.1 + tag: v1.0.2 resources: requests: @@ -30,7 +30,12 @@ deployment: maxSurge: 0 maxUnavailable: 1 imagePullPolicy: IfNotPresent - + command: + - /app/kuberhealthy + # use this to override location of the test-image, see: https://github.com/Comcast/kuberhealthy/blob/master/docs/FLAGS.md + # args: + # - -dsPauseContainerImageOverride + # - your-repo/google_containers/pause:0.8.0 securityContext: runAsNonRoot: true runAsUser: 999