Skip to content

Commit

Permalink
Attempting to Fix TDR in Bees following upgrade to GKE 1.25 (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Flinn authored Feb 12, 2024
1 parent e86aa5e commit 73262fb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/datarepo-api/templates/pod-running-policy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.rbac.create }}
{{- if .Values.rbac.create | and .Values.rbac.pspEnabled -}}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/datarepo-api/templates/role.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.rbac.create -}}
{{- if .Values.rbac.create | and .Values.rbac.pspEnabled -}}
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/datarepo-api/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.rbac.create -}}
{{- if .Values.rbac.create | and .Values.rbac.pspEnabled -}}
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down
1 change: 1 addition & 0 deletions charts/datarepo-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ rbac:
create: false
# If true, prefix the psp with the release's namespace. (Used to prevent conflicts in BEEs)
namespacePrefix: false
pspEnabled: true
service:
port: 8080
type: ClusterIP
Expand Down

0 comments on commit 73262fb

Please sign in to comment.