|
| 1 | +variable "kubernetes_namespace" { |
| 2 | + type = string |
| 3 | + description = "The namespace to install the release into." |
| 4 | +} |
| 5 | + |
| 6 | +variable "chart_description" { |
| 7 | + type = string |
| 8 | + description = "Set release description attribute (visible in the history)." |
| 9 | + default = "External Secrets Operator is a Kubernetes operator that integrates external secret management systems including AWS SSM, Parameter Store, Hasicorp Vault, 1Password Secrets Automation, etc. It reads values from external vaults and injects values as a Kubernetes Secret" |
| 10 | +} |
| 11 | + |
| 12 | +variable "chart_repository" { |
| 13 | + type = string |
| 14 | + description = "Repository URL where to locate the requested chart." |
| 15 | + default = "https://charts.external-secrets.io" |
| 16 | +} |
| 17 | + |
| 18 | +variable "chart" { |
| 19 | + type = string |
| 20 | + description = "Chart name to be installed. The chart name can be local path, a URL to a chart, or the name of the chart if `repository` is specified. It is also possible to use the `<repository>/<chart>` format here if you are running Terraform on a system that the repository has been added to with `helm repo add` but this is not recommended." |
| 21 | + default = "external-secrets" |
| 22 | +} |
| 23 | + |
| 24 | +variable "chart_version" { |
| 25 | + type = string |
| 26 | + description = "Specify the exact chart version to install. If this is not specified, the latest version is installed." |
| 27 | + default = "0.6.0-rc1" |
| 28 | + # using RC to address this bug https://github.com/external-secrets/external-secrets/issues/1511 |
| 29 | +} |
| 30 | + |
| 31 | +variable "chart_values" { |
| 32 | + type = any |
| 33 | + description = "Additional values to yamlencode as `helm_release` values." |
| 34 | + default = {} |
| 35 | +} |
| 36 | + |
| 37 | +variable "create_namespace" { |
| 38 | + type = bool |
| 39 | + description = "Create the Kubernetes namespace if it does not yet exist" |
| 40 | + default = null |
| 41 | +} |
| 42 | + |
| 43 | +variable "verify" { |
| 44 | + type = bool |
| 45 | + description = "Verify the package before installing it. Helm uses a provenance file to verify the integrity of the chart; this must be hosted alongside the chart" |
| 46 | + default = false |
| 47 | +} |
| 48 | + |
| 49 | +variable "wait" { |
| 50 | + type = bool |
| 51 | + description = "Will wait until all resources are in a ready state before marking the release as successful. It will wait for as long as `timeout`. Defaults to `true`." |
| 52 | + default = true |
| 53 | +} |
| 54 | + |
| 55 | +variable "atomic" { |
| 56 | + type = bool |
| 57 | + description = "If set, installation process purges chart on fail. The wait flag will be set automatically if atomic is used." |
| 58 | + default = true |
| 59 | +} |
| 60 | + |
| 61 | +variable "cleanup_on_fail" { |
| 62 | + type = bool |
| 63 | + description = "Allow deletion of new resources created in this upgrade when upgrade fails." |
| 64 | + default = true |
| 65 | +} |
| 66 | + |
| 67 | +variable "timeout" { |
| 68 | + type = number |
| 69 | + description = "Time in seconds to wait for any individual kubernetes operation (like Jobs for hooks). Defaults to `300` seconds" |
| 70 | + default = null |
| 71 | +} |
0 commit comments