Skip to content

Commit

Permalink
Fix/aws deploy 772 (#49)
Browse files Browse the repository at this point in the history
* Rm comment

* Qa values

* Update qkm default version

* Add tls for ingress
  • Loading branch information
6l20 authored Feb 16, 2022
1 parent 1dfcc91 commit d2863da
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
4 changes: 1 addition & 3 deletions environments/common.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
{{ $defaultOrchestrateChart := "consensys/orchestrate" }}
{{ $defaultQkmChart := "consensys/quorumkeymanager" }}
{{ $defaultOrchestrateChartVersion := "2.0.0" }}
{{ $defaultQkmChartVersion := "1.1.5" }}
{{ $defaultNamespace := "orchestrate" }}
{{/* $tag := "v21.10.1-alpha.3" */}}
{{ $defaultQkmChartVersion := "1.1.7" }}
{{ $tag := "v21.12.1" }}
{{ $qkmTag := "v21.12.1" }}

Expand Down
11 changes: 11 additions & 0 deletions environments/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ zookeeper:
memory: "512Mi"
limits:
memory: "2Gi"

qkm:
enabled: true
vault:
tls:
enabled: false
agents:
- name: orchestrate
vaultAddress: http://vault.qa:8200
config:
role: qa
3 changes: 3 additions & 0 deletions values/orchestrate.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ api:
service:
port:
number: 80
tls:
- hosts:
- {{ .Values.orchestrate.namespace }}.orchestrate.{{ .Values.domainName }}
{{- end }}
environment:
{{- range $key, $value := $kafkaEnv }}
Expand Down
18 changes: 14 additions & 4 deletions values/qkm.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

{{ $qkmVaultTls := .Values | get "qkm.vault.tls.enabled" false }}

image:
repository: {{ .Values.qkm.image.repository }}
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -53,16 +55,24 @@ auth:

vault:
tls:
enabled: false
enabled: {{ $qkmVaultTls }}
agents:
- name: "orchestrate"
vaultAddress: "http://vault.orchestrate.svc.cluster.local:8200"
{{- range .Values.qkm.vault.agents }}
- name: {{ .name }}
vaultAddress: {{ .vaultAddress }}
image:
repository: vault
tag: 1.8.2
config:
wrapTTL: ""
role: "orchestrate"
role: {{ .config.role }}
{{- if $qkmVaultTls }}
ca: {{ .ca }}
key: {{ .key }}
crt: {{ .crt }}
{{- end }}
mountPath: /vault/token
{{- end }}

serviceAccount:
create: false
Expand Down

0 comments on commit d2863da

Please sign in to comment.