Skip to content

Commit

Permalink
[HELM] - Opentofu Binary Path
Browse files Browse the repository at this point in the history
Adding the binary path parameter to the helm chart
  • Loading branch information
gambol99 committed Nov 17, 2024
1 parent e1c0114 commit 980ce80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/terranetes-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ spec:
{{- if .Values.controller.backend.name }}
- --backend-template={{ .Values.controller.backend.name }}
{{- end }}
{{- if .Values.controller.binaryPath }}
- --binary-path={{ .Values.controller.binaryPath }}
{{- end }}
{{- if .Values.controller.enableHelmWebhookRegistration }}
- --configurations-threshold={{ .Values.controller.configuration_rate_threshold }}
- --drift-controller-interval={{ .Values.controller.driftControllerInterval }}
- --drift-interval={{ .Values.controller.driftInterval }}
Expand Down
2 changes: 2 additions & 0 deletions charts/terranetes-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ controller:
name: ""
# Template will automatically create a backend secret for you
template: ""
# The binary path of the executable to run in the terraform image
binaryPath: /usr/local/bin/tofu
# Configuration related to costs
costs:
# Name of the secret containing the infracost api token
Expand Down

0 comments on commit 980ce80

Please sign in to comment.