Skip to content

Commit

Permalink
make envs tpl values
Browse files Browse the repository at this point in the history
  • Loading branch information
isaaguilar committed Jun 23, 2023
1 parent fc28c66 commit d3b63d7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/terraform-operator-remote-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: 1.1.0
description: A Helm chart to deploy the terraform-operator-remote-controller
name: terraform-operator-remote-controller
version: 1.0.5
version: 1.0.6
4 changes: 2 additions & 2 deletions charts/terraform-operator-remote-controller/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# terraform-operator-remote-controller

![Version: 1.0.5](https://img.shields.io/badge/Version-1.0.5-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)
![Version: 1.0.6](https://img.shields.io/badge/Version-1.0.6-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)

A Helm chart to deploy the terraform-operator-remote-controller

Expand All @@ -16,7 +16,7 @@ $ helm install terraform-operator-remote-controller galleybytes/terraform-operat
| Key | Description | Default |
|---|---|---|
| image | `object` image repository and tag | `{"repository":"ghcr.io/galleybytes/terraform-operator-remote-controller","tag":"1.1.0"}` |
| env | `list` Env defined like k8s EnvVar https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#envvar-v1-core. | `[]` |
| env | `list` Env defined like k8s EnvVar https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#envvar-v1-core. Values can be tpl ie `{{ .Values.CLIENT_NAME }}` where `CLIENT_NAME` can be defined elsewhere. | `[]` |
| resources | `object` CPU/Memory request and limit configuration | `{"limits":{"cpu":"50m","memory":"32M"},"requests":{"cpu":"5m","memory":"32M"}}` |
| nodeSelector | `object` node labels for pod assignment | `{}` |
| tolerations | `list` List of node taints to tolerate | `[]` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
{{- end }}
env:
{{- if .Values.env }}
{{- .Values.env | toYaml | nindent 8 }}
{{- tpl (.Values.env | toYaml | nindent 8) . }}
{{- end }}
{{- if .Values.data.vcluster.enabled }}
- name: TFO_API_VCLUSTER_MANIFEST
Expand Down
1 change: 1 addition & 0 deletions charts/terraform-operator-remote-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ image:
tag: 1.1.0

# -- Env defined like k8s EnvVar https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#envvar-v1-core.
# Values can be tpl ie `{{ .Values.CLIENT_NAME }}` where `CLIENT_NAME` can be defined elsewhere.
env: []
# - name: CLIENT_NAME
# value: cluster-x
Expand Down

0 comments on commit d3b63d7

Please sign in to comment.