github.com/giantswarm/apiextensions/v2@v2.6.2/helm/apiextensions-cert-config-e2e-chart/templates/cluster-operator-api-cert.yaml (about)

     1  apiVersion: "core.giantswarm.io/v1alpha1"
     2  kind: CertConfig
     3  metadata:
     4    name: "{{.Values.clusterName}}-cluster-operator-api"
     5    namespace: "default"
     6    labels:
     7      clusterID: "{{.Values.clusterName}}"
     8      clusterComponent: "cluster-operator-api"
     9      giantswarm.io/certificate: "cluster-operator-api"
    10      giantswarm.io/cluster: "{{.Values.clusterName}}"
    11  spec:
    12    cert:
    13      clusterID: "{{.Values.clusterName}}"
    14      clusterComponent: "cluster-operator-api"
    15      commonName: "api.{{.Values.clusterName}}.k8s.{{.Values.commonDomain}}"
    16      ipSans:
    17        {{range .Values.ipSans}}
    18        - {{ . }}
    19        {{end}}
    20      ttl: "720h"
    21      allowBareDomains: false
    22      organizations:
    23        {{range .Values.organizations}}
    24        - {{ . }}
    25        {{end}}
    26    versionBundle:
    27      version: 0.1.0