Skip to content

Commit

Permalink
Use server_side_apply=true in k8s resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
freyes committed Dec 6, 2024
1 parent 9644949 commit 1b2510d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ resource "kubernetes_stateful_set" "mysql" {
resource "kubectl_manifest" "selfsigned_issuer" {
# apply_only = true
# ignore_fields = ["data", "annotations"]
server_side_apply = true
yaml_body = <<YAML
apiVersion: cert-manager.io/v1
kind: Issuer
Expand Down Expand Up @@ -354,6 +355,7 @@ YAML
resource "kubectl_manifest" "zookeeper_client_tls" {
# apply_only = true
# ignore_fields = ["data", "annotations"]
server_side_apply = true
yaml_body = <<YAML
apiVersion: cert-manager.io/v1
kind: Certificate
Expand Down

0 comments on commit 1b2510d

Please sign in to comment.