File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ apiVersion: v2
22name : cilium-global-policies
33description : A dedicated chart for Cilium default policies
44type : application
5- version : " 1.11.0 "
5+ version : " 1.11.1 "
Original file line number Diff line number Diff line change @@ -69,11 +69,21 @@ resource "helm_release" "cilium" {
6969 ]
7070}
7171
72+ # Workaround
73+ # Ref: https://github.com/hashicorp/terraform-provider-helm/issues/1664#issuecomment-3438973448
74+ data "local_file" "cilium_global_policies_chart_yaml" {
75+ filename = " ${ path . module } /cilium-global-policies/Chart.yaml"
76+ }
77+
7278resource "helm_release" "cilium_global_policies" {
7379 name = " cilium-global-policies"
7480 chart = " ${ path . module } /cilium-global-policies"
7581 namespace = " kube-system"
7682
83+ # Workaround
84+ # Ref: https://github.com/hashicorp/terraform-provider-helm/issues/1664#issuecomment-3438973448
85+ version = tostring (yamldecode (data. local_file . cilium_global_policies_chart_yaml . content ). version )
86+
7787 max_history = local. helm_max_history
7888
7989 depends_on = [helm_release . cilium ]
You can’t perform that action at this time.
0 commit comments