mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-13 19:52:20 -04:00

* cli: move internal packages Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: fix buildfiles Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: fix exclude dir Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: move back libraries that will not be used by TF provider Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
21 lines
739 B
YAML
21 lines
739 B
YAML
{{- if and (or .Values.externalWorkloads.enabled .Values.clustermesh.useAPIServer) .Values.clustermesh.apiserver.tls.auto.enabled (eq .Values.clustermesh.apiserver.tls.auto.method "certmanager") (not .Values.clustermesh.apiserver.tls.auto.certManagerIssuerRef) }}
|
|
{{- $_ := include "clustermesh-apiserver-generate-certs.helm.setup-ca" . -}}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: clustermesh-apiserver-ca-cert
|
|
namespace: {{ .Release.Namespace }}
|
|
data:
|
|
ca.crt: {{ .cmca.Cert | b64enc }}
|
|
ca.key: {{ .cmca.Key | b64enc }}
|
|
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Issuer
|
|
metadata:
|
|
name: clustermesh-apiserver-issuer
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
ca:
|
|
secretName: clustermesh-apiserver-ca-cert
|
|
{{- end }}
|