mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-10 20:18:46 -05:00
![Moritz Sanft](/assets/img/avatar_default.png)
* 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
748 B
YAML
21 lines
748 B
YAML
{{- if and (or .Values.externalWorkloads.enabled .Values.clustermesh.useAPIServer) .Values.clustermesh.apiserver.tls.auto.enabled (eq .Values.clustermesh.apiserver.tls.auto.method "cronJob") }}
|
|
---
|
|
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: clustermesh-apiserver-generate-certs
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
k8s-app: clustermesh-apiserver-generate-certs
|
|
app.kubernetes.io/part-of: cilium
|
|
annotations:
|
|
"helm.sh/hook": post-install,post-upgrade
|
|
{{- with .Values.certgen.annotations.job }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.clustermesh.annotations }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{ include "clustermesh-apiserver-generate-certs.job.spec" . }}
|
|
{{- end }}
|