Add labels via central lib to cert-manager
This commit is contained in:
parent
32dcca79a9
commit
fe60e8f362
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezero-cert-manager
|
name: kubezero-cert-manager
|
||||||
description: KubeZero Umbrella Chart for cert-manager
|
description: KubeZero Umbrella Chart for cert-manager
|
||||||
type: application
|
type: application
|
||||||
version: 0.3.2
|
version: 0.3.3
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/logo_small.png
|
icon: https://cdn.zero-downtime.net/assets/logo_small.png
|
||||||
keywords:
|
keywords:
|
||||||
@ -11,6 +11,9 @@ keywords:
|
|||||||
maintainers:
|
maintainers:
|
||||||
- name: Quarky9
|
- name: Quarky9
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- name: kubezero-lib
|
||||||
|
version: ">= 0.1.1"
|
||||||
|
repository: https://zero-down-time.github.io/kubezero/
|
||||||
- name: cert-manager
|
- name: cert-manager
|
||||||
version: 0.15.0
|
version: 0.15.0
|
||||||
repository: https://charts.jetstack.io
|
repository: https://charts.jetstack.io
|
||||||
|
@ -7,6 +7,8 @@ kind: Issuer
|
|||||||
metadata:
|
metadata:
|
||||||
name: kubezero-selfsigning-issuer
|
name: kubezero-selfsigning-issuer
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
labels:
|
||||||
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
selfSigned: {}
|
selfSigned: {}
|
||||||
---
|
---
|
||||||
@ -15,6 +17,8 @@ kind: Certificate
|
|||||||
metadata:
|
metadata:
|
||||||
name: kubezero-local-ca
|
name: kubezero-local-ca
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
labels:
|
||||||
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
secretName: kubezero-ca-tls
|
secretName: kubezero-ca-tls
|
||||||
commonName: "kubezero-local-ca"
|
commonName: "kubezero-local-ca"
|
||||||
@ -31,6 +35,8 @@ kind: Secret
|
|||||||
metadata:
|
metadata:
|
||||||
name: kubezero-ca-tls
|
name: kubezero-ca-tls
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
labels:
|
||||||
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
data:
|
data:
|
||||||
tls.crt: {{ .Values.localCA.ca.crt | b64enc }}
|
tls.crt: {{ .Values.localCA.ca.crt | b64enc }}
|
||||||
tls.key: {{ .Values.localCA.ca.key | b64enc }}
|
tls.key: {{ .Values.localCA.ca.key | b64enc }}
|
||||||
@ -42,6 +48,8 @@ kind: Issuer
|
|||||||
metadata:
|
metadata:
|
||||||
name: kubezero-local-ca-issuer
|
name: kubezero-local-ca-issuer
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
labels:
|
||||||
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
ca:
|
ca:
|
||||||
secretName: kubezero-ca-tls
|
secretName: kubezero-ca-tls
|
||||||
|
@ -3,6 +3,8 @@ apiVersion: cert-manager.io/v1alpha2
|
|||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.clusterIssuer.name }}
|
name: {{ .Values.clusterIssuer.name }}
|
||||||
|
labels:
|
||||||
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
acme:
|
acme:
|
||||||
server: {{ .Values.clusterIssuer.server }}
|
server: {{ .Values.clusterIssuer.server }}
|
||||||
|
Loading…
Reference in New Issue
Block a user