Skip to content

Commit 46333da

Browse files
joelanfordci-robot
authored andcommitted
UPSTREAM: <carry>: openshift: template log verbosity to be managed by cluster-olm-operator
Signed-off-by: Joe Lanford <[email protected]>
1 parent d3301cf commit 46333da

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

openshift/kustomize/overlays/openshift/kustomization.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ patches:
2222
kind: Deployment
2323
name: controller-manager
2424
path: patches/manager_deployment_mount_etc_containers.yaml
25+
- target:
26+
kind: Deployment
27+
name: controller-manager
28+
path: patches/manager_deployment_log_verbosity.yaml
2529
- path: patches/manager_namespace_privileged.yaml
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- op: add
2+
path: /spec/template/spec/containers/0/args/-
3+
value: "--v=${LOG_VERBOSITY}"

openshift/manifests/18-deployment-openshift-operator-controller-operator-controller-controller-manager.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ spec:
4444
- --metrics-bind-address=:8443
4545
- --leader-elect
4646
- --ca-certs-dir=/var/certs
47+
- --v=${LOG_VERBOSITY}
4748
command:
4849
- /operator-controller
4950
image: ${OPERATOR_CONTROLLER_IMAGE}

0 commit comments

Comments
 (0)