constellation/cli/internal/helm/charts/cilium/templates/cilium-agent/role.yaml

17 lines
439 B
YAML
Raw Normal View History

2022-08-12 04:20:19 -04:00
{{- if and .Values.agent (not .Values.preflight.enabled) .Values.serviceAccounts.cilium.create .Values.ingressController.enabled .Values.ingressController.secretsNamespace.name }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: cilium-secrets
namespace: {{ .Values.ingressController.secretsNamespace.name | quote }}
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
{{- end }}