1
0
Fork 0

Add helm package

This commit is contained in:
Joao Gilberto Magalhaes 2022-08-27 14:34:55 -05:00
parent e8aa05512a
commit 899e6e8d23
9 changed files with 415 additions and 54 deletions

View file

@ -0,0 +1,20 @@
{{- if .Values.serviceAccount.create -}}
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "easyhaproxy-ingress.fullname" . }}
labels:
{{- include "easyhaproxy-ingress.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ include "easyhaproxy-ingress.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ include "easyhaproxy-ingress.serviceAccountName" . }}
{{- end }}