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

Commit

Permalink
Add datacenter flag to controller deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Venkatesh committed Sep 30, 2020
1 parent d3dd318 commit 526f0ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ jobs:
-kubeconfig="$primary_kubeconfig" \
-secondary-kubeconfig="$secondary_kubeconfig" \
-debug-directory="$TEST_RESULTS/debug" \
-consul-k8s-image=hashicorpdev/consul-k8s:crd-controller-base-latest
-consul-k8s-image=ashwinvenkatesh/consul-k8s:meta@sha256:531a8865c4c585b53962bef8ff7e7df375741b16ee4f012d53f348deb30ba5f9 \
-consul-image=ashwinvenkatesh/consul:meta@sha256:ba215ab440990e19e87f5fa0952f981dcbf2605175b97899dfec259ee1abeca5
- store_test_results:
path: /tmp/test-results
Expand Down
1 change: 1 addition & 0 deletions templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ spec:
- |
consul-k8s controller \
--webhook-tls-cert-dir=/tmp/controller-webhook/certs \
--datacenter={{ .Values.global.datacenter }}
--enable-leader-election \
{{- if .Values.global.enableConsulNamespaces }}
-enable-namespaces=true \
Expand Down

0 comments on commit 526f0ad

Please sign in to comment.