Skip to content

Commit

Permalink
Merge pull request #4 from fiskaltrust/user/pvo/46671-env-vars
Browse files Browse the repository at this point in the history
User/pvo/46671 env vars
  • Loading branch information
volllly authored Oct 20, 2021
2 parents ab39e66 + 9e7efb5 commit b007fea
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions azure-pipelines/Repo-CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ resources:
repositories:
- repository: self

pool:
vmImage: ubuntu-latest

pr:
branches:
include:
Expand Down
2 changes: 1 addition & 1 deletion bring-your-own-datacenter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: bring-your-own-datacenter
type: application
version: 1.3.23
version: 1.3.24
keywords:
- fiskaltrust
- byodc
Expand Down
4 changes: 3 additions & 1 deletion bring-your-own-datacenter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Kubernetes cluster > v1.16
* helm > v3.0


## Installation

### Create Namespace
Expand Down Expand Up @@ -55,3 +54,6 @@ Leave out `-f config.yaml` to install it with default values.
helm uninstall bring-your-own-datacenter --namespace bring-your-own-datacenter
kubectl delete namespace bring-your-own-datacenter
```


<!-- helm dependency update -->
3 changes: 3 additions & 0 deletions bring-your-own-datacenter/templates/manifests/byodc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ spec:
- name: {{ $key | upper }}_PROXY
value: {{ $value | quote }}
{{- end }}{{ end }}{{ end }}
{{- with .Values.byodc.config.env }}{{ range $value := . }}{{if $value }}
- {{ toYaml $value | nindent 14 | trim -}}
{{- end }}{{ end }}{{ end }}
livenessProbe:
httpGet:
path: /health/live
Expand Down
2 changes: 2 additions & 0 deletions bring-your-own-datacenter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ byodc:
timeout:
all: 900_000
connect: 15_000
# array of environment variables (see https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#envvar-v1-core) for the byodc deployment
env: null

redis:
# enable redis
Expand Down

0 comments on commit b007fea

Please sign in to comment.