[bitnami/kong] Chart standardized (#9348)

* [bitnami/kong] Chart standardized

Signed-off-by: juan131 <juanariza@vmware.com>

* Include requested changes

Signed-off-by: juan131 <juan.ariza.1311993@gmail.com>

* [bitnami/kong] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Juan Ariza Toledano
2022-03-11 13:54:07 +01:00
committed by GitHub
parent 228286b128
commit 1469a8aaea
25 changed files with 1061 additions and 823 deletions

View File

@@ -0,0 +1,22 @@
{{- if and .Values.ingressController.enabled .Values.ingressController.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "kong.ingressController.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: server
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if or .Values.ingressController.serviceAccount.annotations .Values.commonAnnotations }}
annotations:
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.ingressController.serviceAccount.annotations }}
{{- include "common.tplvalues.render" (dict "value" .Values.ingressController.serviceAccount.annotations "context" $) | nindent 4 }}
{{- end }}
{{- end }}
automountServiceAccountToken: {{ .Values.ingressController.serviceAccount.automountServiceAccountToken }}
{{- end }}