Files
service-catalog/manifests/helm/lakekeeper/0.11.0/templates/serviceaccount.yaml
T
wbsong111 f4d287abef update lakekeeper/0.11.0
- chart 0.8.1 → 0.11.0 (appVersion 0.10.4 → 0.12.2)
- deps: postgres 1.5.8 → 1.5.13, openfga 0.2.44 → 0.2.62
- ingress: Kong → APISIX (use-regex + path /.*, cluster-issuer)
- openfga.playground 비활성화 (preshared 인증 패닉 방지)
- breaking=false, custom-values 키 전부 호환

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 09:13:31 +09:00

81 lines
2.1 KiB
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "iceberg-catalog.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "iceberg-catalog.labels" . | nindent 4 }}
app.kubernetes.io/component: rbac
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
---
# Get jobs to detect if migrations finished
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "iceberg-catalog.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "iceberg-catalog.labels" . | nindent 4 }}
app.kubernetes.io/component: rbac
rules:
- apiGroups:
- batch
resources:
- jobs
verbs:
- get
- list
- watch
{{- if eq .Values.authz.backend "cedar" }}
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ include "iceberg-catalog.fullname" . }}-rolebinding
namespace: {{ .Release.Namespace }}
labels:
{{- include "iceberg-catalog.labels" . | nindent 4 }}
app.kubernetes.io/component: rbac
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ include "iceberg-catalog.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ include "iceberg-catalog.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- if .Values.auth.k8s.enabled }}
{{- if .Values.auth.k8s.createClusterRoleBinding }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ .Release.Namespace }}:{{ include "iceberg-catalog.fullname" . }}-token-review
labels:
{{- include "iceberg-catalog.labels" . | nindent 4 }}
app.kubernetes.io/component: rbac
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:auth-delegator
subjects:
- kind: ServiceAccount
name: {{ include "iceberg-catalog.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}
{{- end }}