Skip to content

Commit 6fcc74e

Browse files
Merge pull request #518 from jpeeler/deploy-debug
feat(deploy): add debug variable to all deployments
2 parents 2272906 + 4885d5d commit 6fcc74e

File tree

6 files changed

+11
-0
lines changed

6 files changed

+11
-0
lines changed

Documentation/install/local-values-shift.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ rbacApiVersion: authorization.openshift.io
22
namespace: local
33
watchedNamespaces: local
44
catalog_namespace: local
5+
debug: true
6+
57
alm:
68
replicaCount: 1
79
image:

Documentation/install/local-values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ rbacApiVersion: rbac.authorization.k8s.io
22
namespace: local
33
watchedNamespaces: local
44
catalog_namespace: local
5+
debug: true
56

67
olm:
78
replicaCount: 1

deploy/chart/templates/0000_30_10-olm-operator.deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ spec:
2929
{{- if .Values.olm.commandArgs }}
3030
- {{ .Values.olm.commandArgs }}
3131
{{- end }}
32+
{{- if .Values.debug }}
33+
- -debug
34+
{{- end }}
3235
image: {{ .Values.olm.image.ref }}
3336
imagePullPolicy: {{ .Values.olm.image.pullPolicy }}
3437
ports:

deploy/chart/templates/0000_30_11-catalog-operator.deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ spec:
2828
{{- end }}
2929
- '-namespace'
3030
- {{ .Values.catalog_namespace }}
31+
{{- if .Values.debug }}
3132
- '-debug'
33+
{{- end }}
3234
{{- if .Values.catalog.commandArgs }}
3335
- {{ .Values.catalog.commandArgs }}
3436
{{- end }}

deploy/chart/templates/0000_30_13-packageserver.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ spec:
112112
- --secure-port={{ .Values.package.service.internalPort }}
113113
- --global-namespace
114114
- {{ .Values.namespace }}
115+
{{- if .Values.debug }}
115116
- --debug
117+
{{- end }}
116118
{{- if .Values.package.commandArgs }}
117119
- {{ .Values.package.commandArgs }}
118120
{{- end }}

deploy/chart/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ rbacApiVersion: rbac.authorization.k8s.io
22
namespace: operator-lifecycle-manager
33
catalog_namespace: operator-lifecycle-manager
44
imagestream: false
5+
debug: false
56
olm:
67
replicaCount: 1
78
image:

0 commit comments

Comments
 (0)