Skip to content

Commit

Permalink
Merge pull request #26 from RedHatGov/aromero-dev
Browse files Browse the repository at this point in the history
Adding watch namespace env variable
  • Loading branch information
andykrohg authored Nov 6, 2020
2 parents 2972f35 + 1df735e commit ed3b532
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@ spec:
- "--enable-leader-election"
- "--leader-election-id=gitea-operator"
image: controller:latest
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
terminationGracePeriodSeconds: 10
serviceAccountName: gitea-operator-sa

0 comments on commit ed3b532

Please sign in to comment.