Skip to content

Commit df30364

Browse files
authored
Fix the serviceAccount print column (#111)
Issue #, if available: N/A Description of changes: Fixes the printcolumn on podidentityassociations. The ServiceAccount field is set to: ``` ServiceAccount *string `json:"serviceAccount"` ``` But the printcolumn was set to: ``` // +kubebuilder:printcolumn:name="SERVICEACCOUNT",type=string,priority=0,JSONPath=`.spec.serviceaccount` ``` It is case sensitive so it was not matching. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 670e915 commit df30364

6 files changed

+10
-10
lines changed
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2024-03-06T21:37:28Z"
3-
build_hash: a5ba3c851434263128a1464a2c41e528779eeefa
2+
build_date: "2024-03-14T22:05:00Z"
3+
build_hash: ca5ff205b7be9c7fac8f35f8e7a3f6eae22af3ed
44
go_version: go1.22.0
5-
version: v0.32.1
6-
api_directory_checksum: d960a9f06b58cc445e5ab21fb26ee6d92c441374
5+
version: v0.32.1-2-gca5ff20
6+
api_directory_checksum: 9026ab1865c6ec4c29670dd2f0805151f437fc92
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.49.13
99
generator_config_info:
10-
file_checksum: d4bad3acfd8ddb3923869d78c65384973ff25151
10+
file_checksum: 9b6fc7e4c1d20a7c22de2a47af371279c26ee490
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ resources:
372372
type: string
373373
index: 20
374374
- name: SERVICEACCOUNT
375-
json_path: .spec.serviceaccount
375+
json_path: .spec.serviceAccount
376376
type: string
377377
index: 30
378378
- name: ROLEARN

apis/v1alpha1/pod_identity_association.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/eks.services.k8s.aws_podidentityassociations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- jsonPath: .spec.namespace
2222
name: NAMESPACE
2323
type: string
24-
- jsonPath: .spec.serviceaccount
24+
- jsonPath: .spec.serviceAccount
2525
name: SERVICEACCOUNT
2626
type: string
2727
- jsonPath: .spec.roleARN

generator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ resources:
372372
type: string
373373
index: 20
374374
- name: SERVICEACCOUNT
375-
json_path: .spec.serviceaccount
375+
json_path: .spec.serviceAccount
376376
type: string
377377
index: 30
378378
- name: ROLEARN

helm/crds/eks.services.k8s.aws_podidentityassociations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- jsonPath: .spec.namespace
2222
name: NAMESPACE
2323
type: string
24-
- jsonPath: .spec.serviceaccount
24+
- jsonPath: .spec.serviceAccount
2525
name: SERVICEACCOUNT
2626
type: string
2727
- jsonPath: .spec.roleARN

0 commit comments

Comments
 (0)