Skip to content

Commit 85bfd53

Browse files
authored
Adding ability to use STS token to operator on deployment (#473)
1 parent 1167472 commit 85bfd53

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

bundle/manifests/oadp-operator.clusterserviceversion.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,10 @@ spec:
438438
- --v=10
439439
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
440440
name: kube-rbac-proxy
441+
volumeMounts:
442+
- mountPath: /var/run/secrets/openshift/serviceaccount
443+
name: bound-sa-token
444+
readOnly: true
441445
ports:
442446
- containerPort: 8443
443447
name: https
@@ -527,6 +531,14 @@ spec:
527531
runAsNonRoot: true
528532
serviceAccountName: openshift-adp-controller-manager
529533
terminationGracePeriodSeconds: 10
534+
volumes:
535+
- name: bound-sa-token
536+
projected:
537+
sources:
538+
- serviceAccountToken:
539+
path: token
540+
expirationSeconds: 3600
541+
audience: openshift
530542
permissions:
531543
- rules:
532544
- apiGroups:

0 commit comments

Comments
 (0)