Skip to content

Commit

Permalink
Simplify by specifying watch namespace with metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
idlewis committed Dec 2, 2021
1 parent f2bc778 commit c37274a
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ spec:
env:
- name: WATCH_NAMESPACE
value: rco-watched-ns2
valueFrom:
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ namespace: rco-ns
bases:
- ../../base

patchesStrategicMerge:
- rco-test-project.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ spec:
env:
- name: WATCH_NAMESPACE
value: ""
valueFrom:

Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ spec:
env:
- name: WATCH_NAMESPACE
value: rco-watched-ns
valueFrom:

Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: WATCH_NAMESPACE
value: default
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: applicationstacks/operator:0.8.0
imagePullPolicy: Always
name: manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ spec:
env:
- name: WATCH_NAMESPACE
value: rco-watched-ns2
valueFrom:
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ namespace: rco-ns
bases:
- ../../base

patchesStrategicMerge:
- rco-test-project.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ spec:
env:
- name: WATCH_NAMESPACE
value: ""
valueFrom:
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ spec:
env:
- name: WATCH_NAMESPACE
value: rco-watched-ns
valueFrom:

0 comments on commit c37274a

Please sign in to comment.