Skip to content

Commit

Permalink
Issue#229 changing v1beta2 to v1 for flux (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmuthusamy authored Sep 16, 2024
1 parent 1200c88 commit d9d8af8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions modules/eks-monitoring/dashboards.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ YAML

resource "kubectl_manifest" "flux_kustomization" {
yaml_body = <<YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ${var.flux_kustomization_name}
Expand Down Expand Up @@ -50,7 +50,7 @@ YAML
# api server dashboards
resource "kubectl_manifest" "api_server_dashboards" {
yaml_body = <<YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ${local.apiserver_monitoring_config.flux_kustomization_name}
Expand All @@ -75,7 +75,7 @@ YAML
# adot health dashboards
resource "kubectl_manifest" "adothealth_monitoring_dashboards" {
yaml_body = <<YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ${local.adothealth_monitoring_config.flux_kustomization_name}
Expand All @@ -98,7 +98,7 @@ YAML
# nvidia dashboards
resource "kubectl_manifest" "nvidia_monitoring_dashboards" {
yaml_body = <<YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ${local.nvidia_monitoring_config.flux_kustomization_name}
Expand All @@ -117,7 +117,7 @@ YAML

resource "kubectl_manifest" "kubeproxy_monitoring_dashboard" {
yaml_body = <<YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ${local.kubeproxy_monitoring_config.flux_kustomization_name}
Expand Down
2 changes: 1 addition & 1 deletion modules/eks-monitoring/patterns/istio/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ resource "kubectl_manifest" "flux_kustomization" {
count = var.pattern_config.enable_dashboards ? 1 : 0

yaml_body = <<YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ${var.pattern_config.flux_kustomization_name}
Expand Down
2 changes: 1 addition & 1 deletion modules/eks-monitoring/patterns/java/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "kubectl_manifest" "flux_kustomization" {
count = var.pattern_config.enable_dashboards ? 1 : 0

yaml_body = <<YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ${var.pattern_config.flux_kustomization_name}
Expand Down
2 changes: 1 addition & 1 deletion modules/eks-monitoring/patterns/nginx/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "kubectl_manifest" "flux_kustomization" {
count = var.pattern_config.enable_dashboards ? 1 : 0

yaml_body = <<YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ${var.pattern_config.flux_kustomization_name}
Expand Down

0 comments on commit d9d8af8

Please sign in to comment.