Path: blob/main/components/ws-manager-mk2/config/certmanager/certificate.yaml
2499 views
# Copyright (c) 2022 Gitpod GmbH. All rights reserved.1# Licensed under the GNU Affero General Public License (AGPL).2# See License-AGPL.txt in the project root for license information.34# The following manifests contain a self-signed issuer CR and a certificate CR.5# More document can be found at https://docs.cert-manager.io6# WARNING: Targets CertManager v1.0. Check https://cert-manager.io/docs/installation/upgrading/ for breaking changes.7apiVersion: cert-manager.io/v18kind: Issuer9metadata:10name: selfsigned-issuer11namespace: system12spec:13selfSigned: {}14---15apiVersion: cert-manager.io/v116kind: Certificate17metadata:18name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml19namespace: system20spec:21# $(SERVICE_NAME) and $(SERVICE_NAMESPACE) will be substituted by kustomize22dnsNames:23- $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc24- $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc.cluster.local25issuerRef:26kind: Issuer27name: selfsigned-issuer28secretName: webhook-server-cert # this secret will not be prefixed, since it's not managed by kustomize293031