Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Use '-' instead of '--' for controller flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Venkatesh committed Oct 1, 2020
1 parent 526f0ad commit 9dd843e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ jobs:
-kubeconfig="$primary_kubeconfig" \
-secondary-kubeconfig="$secondary_kubeconfig" \
-debug-directory="$TEST_RESULTS/debug" \
-consul-k8s-image=ashwinvenkatesh/consul-k8s:meta@sha256:531a8865c4c585b53962bef8ff7e7df375741b16ee4f012d53f348deb30ba5f9 \
-consul-image=ashwinvenkatesh/consul:meta@sha256:ba215ab440990e19e87f5fa0952f981dcbf2605175b97899dfec259ee1abeca5
-consul-k8s-image=ashwinvenkatesh/consul-k8s:meta@sha256:02518cdc017192bc97913a0dcc44f2abd9ba7cb93176fbf8abaa001892aac93d \
-consul-image=ashwinvenkatesh/consul:meta@sha256:eafee5e75b3e2184b4aaf30a1571b39cc628127aed1f45a820ff1cb428755b21
- store_test_results:
path: /tmp/test-results
Expand Down
6 changes: 3 additions & 3 deletions templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ spec:
- "-ec"
- |
consul-k8s controller \
--webhook-tls-cert-dir=/tmp/controller-webhook/certs \
--datacenter={{ .Values.global.datacenter }}
--enable-leader-election \
-webhook-tls-cert-dir=/tmp/controller-webhook/certs \
-datacenter={{ .Values.global.datacenter }} \
-enable-leader-election \
{{- if .Values.global.enableConsulNamespaces }}
-enable-namespaces=true \
{{- if .Values.connectInject.consulNamespaces.consulDestinationNamespace }}
Expand Down

0 comments on commit 9dd843e

Please sign in to comment.