Skip to content

Commit baeeb80

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

File tree

2 files changed

+4
-4
lines changed

2 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func TestEnsurePodSpec(t *testing.T) {
5252
input: corev1.PodSpec{},
5353

5454
expectedModified: true,
55-
expected: corev1.PodSpec{},
55+
expected: corev1.PodSpec{},
5656
},
5757
{
5858
name: "AutomountServiceAccountToken changed",
@@ -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
{

0 commit comments

Comments
 (0)