Skip to content

Commit

Permalink
fix(contrib): add namespace config for k8s hatchery in helm (#3863)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Coenen <[email protected]>
  • Loading branch information
bnjjj authored and yesnault committed Jan 18, 2019
1 parent 35cb9ac commit a49569a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/helm/cds/templates/hatchery-k8s-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
key: cds-k8s_config_file
- name: CDS_HATCHERY_KUBERNETES_KUBERNETESMASTERURL
value: https://donotuse
- name: CDS_HATCHERY_KUBERNETES_NAMESPACE
value: "{{ .Values.hatchery.k8s_namespace }}"
- name: CDS_HATCHERY_KUBERNETES_KUBERNETESCONFIGFILE
value: kubeconfig.yml
- name: CDS_HATCHERY_KUBERNETES_COMMONCONFIGURATION_NAME
Expand Down
4 changes: 4 additions & 0 deletions contrib/helm/cds/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ ingress:



# hatchery kubernetes
hatchery:
k8s_namespace: default

# Ui
ui:
image:
Expand Down

0 comments on commit a49569a

Please sign in to comment.