KubeZero/charts/kubeadm/templates/resources/20-oicd-public-rbac.yaml

14 lines
317 B
YAML
Raw Normal View History

2021-06-29 15:39:44 +00:00
{{- if eq .Values.platform "aws" }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: oidc-public
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:service-account-issuer-discovery
subjects:
- kind: Group
name: system:unauthenticated
{{- end }}