You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/overlay.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -630,6 +630,8 @@ Must enable helm support via [kustomize_options](#kustomize_options---optional)
630
630
-`values_file` specify a file with helm values to use for templating. Not specifying this uses the in-chart values file, if one exists.
631
631
-`values_inline` specify helm values inline from terraform, as a string
632
632
-`values_merge` merge strategy if both `values_file` and `values_inline` are specified. Can be one of `override`, `replace`, `merge`. (default: `override`)
633
+
-`api_versions` List of Kubernetes api versions used for Capabilities.APIVersions.
634
+
-`kube_version` Allows specifying a custom kubernetes version to use when templating.
633
635
634
636
#### Example
635
637
@@ -642,6 +644,8 @@ data "kustomization_overlay" "minecraft" {
resource.TestCheckOutput("kubeversion_configmap", "{\"apiVersion\":\"v1\",\"data\":{\"should\":\"only when kubeversion is equals v1.42.0\"},\"kind\":\"ConfigMap\",\"metadata\":{\"labels\":{\"app\":\"my-release\",\"name\":\"my-release\"},\"name\":\"kubeversion-configmap\"}}"),
1753
+
resource.TestCheckOutput("apiversions_configmap", "{\"apiVersion\":\"v1\",\"data\":{\"should\":\"only when a the fake apiVersion is set\"},\"kind\":\"ConfigMap\",\"metadata\":{\"labels\":{\"app\":\"my-release\",\"name\":\"my-release\"},\"name\":\"apiversions-configmap\"}}"),
0 commit comments