blob: d21e0229e36c0fbbbb625e4509fbb946b2b09226 [file] [log] [blame]
Gabriel Cubafb03e902022-10-07 11:40:03 -05001# Copyright 2022 Whitestack, LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15apiVersion: cert-manager.io/v1
16kind: Certificate
17metadata:
18 name: test-cert
19 namespace: osm
20spec:
21 secretName: test-cert-secret
22 privateKey:
23 rotationPolicy: Always
24 algorithm: ECDSA
25 size: 256
26 duration: 8760h
27 renewBefore: 2208h
28 subject:
29 organizations:
30 - osm
31 commonName: osm
32 isCA: false
33 usages:
34 - server auth
35 dnsNames:
36 - "*.osm"
37 - "*.osm.svc"
38 - "*.osm.svc.cluster"
39 - "*.osm.svc.cluster.local"
40 issuerRef:
41 name: ca-issuer
42 kind: ClusterIssuer