Skip to content

Commit 3bb1665

Browse files
committed
deploy/chart: Use double-hyphen for CLI catalog operator flags
Signed-off-by: timflannagan <[email protected]>
1 parent b842a3c commit 3bb1665

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
spec:
2020
serviceAccountName: olm-operator-serviceaccount
2121
{{- if or .Values.catalog.tlsSecret .Values.catalog.clientCASecret }}
22-
volumes:
22+
volumes:
2323
{{- end }}
2424
{{- if .Values.catalog.tlsSecret }}
2525
- name: srv-cert
@@ -49,21 +49,21 @@ spec:
4949
command:
5050
- /bin/catalog
5151
args:
52-
- '-namespace'
52+
- '--namespace'
5353
- {{ .Values.catalog_namespace }}
5454
{{- if .Values.debug }}
55-
- '-debug'
55+
- '--debug'
5656
{{- end }}
5757
{{- if .Values.catalog.commandArgs }}
5858
- {{ .Values.catalog.commandArgs }}
5959
{{- end }}
6060
{{- if .Values.catalog.opmImageArgs }}
6161
- {{ .Values.catalog.opmImageArgs }}
6262
{{- end }}
63-
- -util-image
63+
- --util-image
6464
- {{ .Values.catalog.image.ref }}
6565
{{- if .Values.writeStatusNameCatalog }}
66-
- -writeStatusName
66+
- --writeStatusName
6767
- {{ .Values.writeStatusNameCatalog }}
6868
{{- end }}
6969
{{- if .Values.catalog.tlsSecret }}

deploy/chart/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ olm:
2626

2727
catalog:
2828
replicaCount: 1
29-
commandArgs: -configmapServerImage=quay.io/operator-framework/configmap-operator-registry:latest
29+
commandArgs: --configmapServerImage=quay.io/operator-framework/configmap-operator-registry:latest
3030
image:
3131
ref: quay.io/operator-framework/olm:master
3232
pullPolicy: Always

0 commit comments

Comments
 (0)