Skip to content

Commit

Permalink
Merge pull request #118 from hayk96/hayk96/k8s-manifests
Browse files Browse the repository at this point in the history
manifests: Update K8s depracated serviceAccount key
  • Loading branch information
matej-g authored Jul 4, 2023
2 parents 229ac27 + 049cee9 commit e61c341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ spec:
securityContext:
fsGroup: 65534
runAsUser: 65534
serviceAccount: thanos-receive-controller
serviceAccountName: thanos-receive-controller
2 changes: 1 addition & 1 deletion jsonnet/lib/thanos-receive-controller.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function(params) {
spec: {
containers: [c],
securityContext: trc.config.securityContext,
serviceAccount: trc.serviceAccount.metadata.name,
serviceAccountName: trc.serviceAccount.metadata.name,
},
},
},
Expand Down

0 comments on commit e61c341

Please sign in to comment.