Skip to content

Commit ff40aad

Browse files
authored
Merge pull request #81 from mjudeikis/mjudikis/lookup.sa
Add service-account lookup flag
2 parents 5ff1993 + cf810d8 commit ff40aad

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

internal/resources/rootshard/deployment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ func getArgs(rootShard *operatorv1alpha1.RootShard) []string {
168168
fmt.Sprintf("--tls-cert-file=%s/tls.crt", getCertificateMountPath(operatorv1alpha1.ServerCertificate)),
169169
fmt.Sprintf("--service-account-key-file=%s/tls.crt", getCertificateMountPath(operatorv1alpha1.ServiceAccountCertificate)),
170170
fmt.Sprintf("--service-account-private-key-file=%s/tls.key", getCertificateMountPath(operatorv1alpha1.ServiceAccountCertificate)),
171+
"--service-account-lookup=false",
171172

172173
// General shard configuration.
173174
fmt.Sprintf("--shard-base-url=%s", resources.GetRootShardBaseURL(rootShard)),

internal/resources/shard/deployment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ func getArgs(shard *operatorv1alpha1.Shard, rootShard *operatorv1alpha1.RootShar
169169
fmt.Sprintf("--tls-cert-file=%s/tls.crt", getCertificateMountPath(operatorv1alpha1.ServerCertificate)),
170170
fmt.Sprintf("--service-account-key-file=%s/tls.crt", getCertificateMountPath(operatorv1alpha1.ServiceAccountCertificate)),
171171
fmt.Sprintf("--service-account-private-key-file=%s/tls.key", getCertificateMountPath(operatorv1alpha1.ServiceAccountCertificate)),
172+
"--service-account-lookup=false",
173+
172174
fmt.Sprintf("--shard-client-key-file=%s/tls.crt", getCertificateMountPath(operatorv1alpha1.ClientCertificate)),
173175
fmt.Sprintf("--shard-client-cert-file=%s/tls.key", getCertificateMountPath(operatorv1alpha1.ClientCertificate)),
174176

0 commit comments

Comments
 (0)