github.com/giantswarm/apiextensions/v2@v2.6.2/helm/apiextensions-cert-config-e2e-chart/templates/api-cert.yaml (about) 1 apiVersion: "core.giantswarm.io/v1alpha1" 2 kind: CertConfig 3 metadata: 4 name: "{{.Values.clusterName}}-api" 5 namespace: "default" 6 labels: 7 clusterID: "{{.Values.clusterName}}" 8 clusterComponent: "api" 9 giantswarm.io/certificate: "api" 10 giantswarm.io/cluster: "{{.Values.clusterName}}" 11 spec: 12 cert: 13 clusterID: "{{.Values.clusterName}}" 14 clusterComponent: "api" 15 commonName: "api.{{.Values.clusterName}}.k8s.{{.Values.commonDomain}}" 16 altNames: 17 - "{{.Values.clusterName}}.k8s.{{.Values.commonDomain}}" 18 - "k8s-master-vm" 19 - "kubernetes" 20 - "kubernetes.default" 21 - "kubernetes.default.svc" 22 - "kubernetes.default.svc.cluster.local" 23 - "master.{{.Values.clusterName}}" 24 - "internal-api.{{.Values.clusterName}}.k8s.{{.Values.commonDomain}}" 25 ipSans: 26 {{range .Values.ipSans}} 27 - {{ . }} 28 {{end}} 29 ttl: "720h" 30 allowBareDomains: true 31 organizations: 32 {{range .Values.organizations}} 33 - {{ . }} 34 {{end}} 35 versionBundle: 36 version: 0.1.0