From 81ec11e26ff81c90abd7d974d65aac0dc517dc24 Mon Sep 17 00:00:00 2001 From: Oscar Romeu Date: Fri, 19 Apr 2024 20:56:07 +0200 Subject: [PATCH] fix: yolo --- kubernetes/apps/datahub/mongodb/app/ca.yaml | 3 ++- kubernetes/apps/datahub/mongodb/app/kustomization.yaml | 1 + .../apps/datahub/mongodb/app/self-signed-issuer.yaml | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 kubernetes/apps/datahub/mongodb/app/self-signed-issuer.yaml diff --git a/kubernetes/apps/datahub/mongodb/app/ca.yaml b/kubernetes/apps/datahub/mongodb/app/ca.yaml index 4dc53db33..aff1d80ba 100644 --- a/kubernetes/apps/datahub/mongodb/app/ca.yaml +++ b/kubernetes/apps/datahub/mongodb/app/ca.yaml @@ -13,8 +13,9 @@ spec: algorithm: ECDSA size: 256 issuerRef: - name: letsencrypt-production + name: selfsigned kind: ClusterIssuer + group: cert-manager.io dnsNames: - "${SECRET_DOMAIN}" - "*.${SECRET_DOMAIN}" diff --git a/kubernetes/apps/datahub/mongodb/app/kustomization.yaml b/kubernetes/apps/datahub/mongodb/app/kustomization.yaml index ea61ba6be..70912aeb5 100644 --- a/kubernetes/apps/datahub/mongodb/app/kustomization.yaml +++ b/kubernetes/apps/datahub/mongodb/app/kustomization.yaml @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - ./self-signed-issuer.yaml - ./ca.yaml - ./ca-issuer.yaml - ./helmrelease.yaml diff --git a/kubernetes/apps/datahub/mongodb/app/self-signed-issuer.yaml b/kubernetes/apps/datahub/mongodb/app/self-signed-issuer.yaml new file mode 100644 index 000000000..fe16629cc --- /dev/null +++ b/kubernetes/apps/datahub/mongodb/app/self-signed-issuer.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: cert-manager.io/v1 +kind: ClusterIssuer +metadata: + name: selfsigned +spec: + selfSigned: {}