Files
infrastructure/clusters/cl01tl/helm/headlamp/templates/cluster-role-binding.yaml
Alex Lebens e104eae55e
Some checks failed
lint-test-helm / lint-helm (pull_request) Successful in 9m13s
lint-test-helm / validate-kubeconform (pull_request) Failing after 10m43s
feat: convert many
2026-04-21 20:47:16 -05:00

20 lines
613 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-admin-oidc
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: cluster-admin-oidc
{{- include "custom.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User
name: https://authentik.alexlebens.net/application/o/headlamp/#alexanderlebens@gmail.com
- kind: ServiceAccount
name: {{ include "custom.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}