| # Licensed to Apache Software Foundation (ASF) under one or more contributor |
| # license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright |
| # ownership. Apache Software Foundation (ASF) licenses this file to you under |
| # the Apache License, Version 2.0 (the "License"); you may |
| # not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| # The following manifests contain a self-signed issuer CR and a certificate CR. |
| # More document can be found at https://docs.cert-manager.io |
| # WARNING: Targets CertManager 0.11 check https://docs.cert-manager.io/en/latest/tasks/upgrading/index.html for |
| # breaking changes |
| apiVersion: cert-manager.io/v1alpha2 |
| kind: Issuer |
| metadata: |
| name: selfsigned-issuer |
| namespace: system |
| spec: |
| selfSigned: {} |
| --- |
| apiVersion: cert-manager.io/v1alpha2 |
| kind: Certificate |
| metadata: |
| name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml |
| namespace: system |
| spec: |
| # $(SERVICE_NAME) and $(SERVICE_NAMESPACE) will be substituted by kustomize |
| dnsNames: |
| - $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc |
| - $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc.cluster.local |
| issuerRef: |
| kind: Issuer |
| name: selfsigned-issuer |
| secretName: skywalking-swck-controller-manager-cert # this secret will not be prefixed, since it's not managed by kustomize |
| |