Skip to content

Commit 7476116

Browse files
authored
fix(account-operator): by default mount the service account token to the operator (#169)
1 parent 8a1960f commit 7476116

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

charts/account-operator/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: account-operator
33
description: A Helm chart to deploy OpenMFP Account-Operator
44
type: application
5-
version: 0.5.35
5+
version: 0.5.36
66
appVersion: "0.129.0"
77
dependencies:
88
- name: account-operator-crds

charts/account-operator/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A Helm chart to deploy OpenMFP Account-Operator
2323
| kcp.virtualWorkspaceUrl | string | `""` | The URL for the virtual workspace |
2424
| kubeconfigSecret | string | `""` | The secret for kubeconfig |
2525
| logLevel | string | `"warn"` | The log level |
26-
| security.mountServiceAccountToken | bool | `false` | Mount the service account token |
26+
| security.mountServiceAccountToken | bool | `true` | Mount the service account token |
2727
| subroutines.extension.enabled | bool | `true` | Enable extension subroutines |
2828
| subroutines.extensionReady.enabled | bool | `true` | Enable extension ready subroutines |
2929
| subroutines.fga.creatorRelation | string | `"owner"` | The creator relation for FGA |

charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap

+3-3
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ operator match the snapshot:
291291
control-plane: controller-manager
292292
service: account-operator
293293
spec:
294-
automountServiceAccountToken: false
294+
automountServiceAccountToken: true
295295
containers:
296296
- args:
297297
- operator
@@ -672,7 +672,7 @@ operator match the snapshot (with kubeconfigSecret):
672672
control-plane: controller-manager
673673
service: account-operator
674674
spec:
675-
automountServiceAccountToken: false
675+
automountServiceAccountToken: true
676676
containers:
677677
- args:
678678
- operator
@@ -1063,7 +1063,7 @@ operator match the snapshot with webhook enabled:
10631063
control-plane: controller-manager
10641064
service: account-operator
10651065
spec:
1066-
automountServiceAccountToken: false
1066+
automountServiceAccountToken: true
10671067
containers:
10681068
- args:
10691069
- operator

charts/account-operator/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ logLevel: warn
5252

5353
security:
5454
# -- Mount the service account token
55-
mountServiceAccountToken: false
55+
mountServiceAccountToken: true
5656

5757
deployment:
5858
specTemplate:

0 commit comments

Comments
 (0)