Skip to content

Commit 9f94bdc

Browse files
committed
add note to remove the automountServiceAccountToken in the next version
Signed-off-by: lan.tian <[email protected]>
1 parent d11ccdd commit 9f94bdc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

install/0000_00_cluster-version-operator_03_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
labels:
2323
k8s-app: cluster-version-operator
2424
spec:
25-
automountServiceAccountToken: false
25+
automountServiceAccountToken: false # removed in the next version.
2626
containers:
2727
- name: cluster-version-operator
2828
image: '{{.ReleaseImage}}'

lib/resourcemerge/core_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func TestEnsurePodSpec(t *testing.T) {
6262
AutomountServiceAccountToken: boolPtr(false)},
6363

6464
expectedModified: true,
65-
expected: corev1.PodSpec{
65+
expected: corev1.PodSpec{
6666
AutomountServiceAccountToken: boolPtr(false)},
6767
},
6868
{
@@ -73,7 +73,7 @@ func TestEnsurePodSpec(t *testing.T) {
7373
AutomountServiceAccountToken: boolPtr(false)},
7474

7575
expectedModified: false,
76-
expected: corev1.PodSpec{
76+
expected: corev1.PodSpec{
7777
AutomountServiceAccountToken: boolPtr(false)},
7878
},
7979
{

pkg/payload/testdata/TestRenderManifest_expected_cvo_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
labels:
2323
k8s-app: cluster-version-operator
2424
spec:
25-
automountServiceAccountToken: false
25+
automountServiceAccountToken: false # removed in the next version.
2626
containers:
2727
- name: cluster-version-operator
2828
image: 'quay.io/cvo/release:latest'

0 commit comments

Comments
 (0)