this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(infra): install cert-manager and trust-manager

Change-Id: I5563372fa9d91763707063e06934e99752d7a23b

Khue Doan 95ea22eb 25b72cdc

+60
+60
infra/modules/bootstrap/cert_manager.tf
··· 1 + resource "kubectl_manifest" "cert_manager" { 2 + server_side_apply = true 3 + yaml_body = yamlencode({ 4 + apiVersion = "argoproj.io/v1alpha1" 5 + kind = "Application" 6 + metadata = { 7 + name = "cert-manager" 8 + namespace = helm_release.argocd.namespace 9 + finalizers = ["resources-finalizer.argocd.argoproj.io"] 10 + labels = local.common_labels 11 + } 12 + spec = { 13 + project = "default" 14 + destination = { 15 + name = "in-cluster" 16 + namespace = "cert-manager" 17 + } 18 + syncPolicy = local.sync_policy 19 + source = { 20 + repoURL = "https://charts.jetstack.io" 21 + chart = "cert-manager" 22 + targetRevision = "1.18.2" 23 + helm = { 24 + valuesObject = { 25 + crds = { 26 + enabled = true 27 + } 28 + } 29 + } 30 + } 31 + } 32 + }) 33 + } 34 + 35 + resource "kubectl_manifest" "trust_manager" { 36 + server_side_apply = true 37 + yaml_body = yamlencode({ 38 + apiVersion = "argoproj.io/v1alpha1" 39 + kind = "Application" 40 + metadata = { 41 + name = "trust-manager" 42 + namespace = helm_release.argocd.namespace 43 + finalizers = ["resources-finalizer.argocd.argoproj.io"] 44 + labels = local.common_labels 45 + } 46 + spec = { 47 + project = "default" 48 + destination = { 49 + name = "in-cluster" 50 + namespace = "cert-manager" 51 + } 52 + syncPolicy = local.sync_policy 53 + source = { 54 + repoURL = "https://charts.jetstack.io" 55 + chart = "trust-manager" 56 + targetRevision = "0.18.0" 57 + } 58 + } 59 + }) 60 + }