Update Promenade Chart

We are getting the following error [0] when we try to deploy the
Promenade Helm Chart with Armada. The problem occurs after [1] was
merged. Note that [1] is the updates for RBAC changes.

This p.s. is meant to correct that behavior

[0] StatusCode.UNKNOWN, error validating "": error validating data: found invalid field rules for v1.Job
[1] https://review.gerrithub.io/#/c/393196/

Change-Id: I6917a0176841046e60b24066f72cb0931c034a0b
This commit is contained in:
Anthony Lin 2018-01-03 08:42:07 +00:00 committed by Mark Burnett
parent 83cfb760c4
commit c944b71b02
2 changed files with 1 additions and 3 deletions

View File

@ -19,8 +19,6 @@ limitations under the License.
{{- $dependencies := .Values.dependencies.api }}
{{- $mounts_promenade := .Values.pod.mounts.promenade_api.promenade_api }}
{{- $mounts_promenade_init := .Values.pod.mounts.promenade_api.init_container }}
{{- $serviceAccountName := "promenade-api" }}
{{ tuple $envAll $dependencies $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: extensions/v1beta1
kind: Deployment
@ -37,7 +35,6 @@ spec:
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
spec:
serviceAccountName: {{ $serviceAccountName }}
affinity:
{{ tuple $envAll "promenade" "api" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
nodeSelector:

View File

@ -21,6 +21,7 @@
{{- $dependencies := .Values.dependencies.ks_user }}
{{- $serviceAccountName := "promenade-ks-user" }}
{{ tuple $envAll $dependencies $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1
kind: Job
metadata: