-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
2,884 additions
and
13,778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
annotations: | ||
artifacthub.io/license: Apache-2.0 | ||
artifacthub.io/prerelease: "false" | ||
artifacthub.io/signKey: | | ||
fingerprint: 1020CF3C033D4F35BAE1C19E1226061C665DF13E | ||
url: https://cert-manager.io/public-keys/cert-manager-keyring-2021-09-20-1020CF3C033D4F35BAE1C19E1226061C665DF13E.gpg | ||
apiVersion: v1 | ||
appVersion: v1.5.5 | ||
appVersion: v1.13.6 | ||
description: A Helm chart for cert-manager | ||
home: https://github.com/jetstack/cert-manager | ||
home: https://github.com/cert-manager/cert-manager | ||
icon: https://cloudcache.tencent-cloud.com/qcloud/ui/static/Industry_tke/44fcdbc2-7461-4025-99c7-54608dfe700d.png | ||
keywords: | ||
- cert-manager | ||
- kube-lego | ||
- letsencrypt | ||
- tls | ||
kubeVersion: ">= 1.22.0-0" | ||
maintainers: | ||
- email: [email protected] | ||
name: cert-manager-maintainers | ||
url: https://cert-manager.io | ||
name: cert-manager | ||
sources: | ||
- https://github.com/jetstack/cert-manager | ||
version: v1.5.5 | ||
kubeVersion: ">= 1.16.0-0" | ||
- https://github.com/cert-manager/cert-manager | ||
version: v1.13.6 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
incubator/cert-manager/templates/cainjector-poddisruptionbudget.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{{- if .Values.cainjector.podDisruptionBudget.enabled }} | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: {{ include "cainjector.fullname" . }} | ||
namespace: {{ include "cert-manager.namespace" . }} | ||
labels: | ||
app: {{ include "cainjector.name" . }} | ||
app.kubernetes.io/name: {{ include "cainjector.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/component: "cainjector" | ||
{{- include "labels" . | nindent 4 }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: {{ include "cainjector.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/component: "cainjector" | ||
|
||
{{- if not (or (hasKey .Values.cainjector.podDisruptionBudget "minAvailable") (hasKey .Values.cainjector.podDisruptionBudget "maxUnavailable")) }} | ||
minAvailable: 1 # Default value because minAvailable and maxUnavailable are not set | ||
{{- end }} | ||
{{- if hasKey .Values.cainjector.podDisruptionBudget "minAvailable" }} | ||
minAvailable: {{ .Values.cainjector.podDisruptionBudget.minAvailable }} | ||
{{- end }} | ||
{{- if hasKey .Values.cainjector.podDisruptionBudget "maxUnavailable" }} | ||
maxUnavailable: {{ .Values.cainjector.podDisruptionBudget.maxUnavailable }} | ||
{{- end }} | ||
{{- end }} |
2 changes: 1 addition & 1 deletion
2
incubator/cert-manager/templates/cainjector-psp-clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 13 additions & 9 deletions
22
incubator/cert-manager/templates/cainjector-serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
{{- if .Values.cainjector.enabled -}} | ||
{{- if .Values.cainjector.serviceAccount.create -}} | ||
{{- if .Values.cainjector.enabled }} | ||
{{- if .Values.cainjector.serviceAccount.create }} | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
automountServiceAccountToken: {{ .Values.cainjector.serviceAccount.automountServiceAccountToken }} | ||
metadata: | ||
name: {{ template "cainjector.serviceAccountName" . }} | ||
namespace: {{ .Release.Namespace | quote }} | ||
{{- if .Values.cainjector.serviceAccount.annotations }} | ||
namespace: {{ include "cert-manager.namespace" . }} | ||
{{- with .Values.cainjector.serviceAccount.annotations }} | ||
annotations: | ||
{{ toYaml .Values.cainjector.serviceAccount.annotations | indent 4 }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
labels: | ||
app: {{ include "cainjector.name" . }} | ||
app.kubernetes.io/name: {{ include "cainjector.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/component: "cainjector" | ||
{{- include "labels" . | nindent 4 }} | ||
{{- if .Values.global.imagePullSecrets }} | ||
imagePullSecrets: {{ toYaml .Values.global.imagePullSecrets | nindent 2 }} | ||
{{- with .Values.cainjector.serviceAccount.labels }} | ||
{{ toYaml . | nindent 4 }} | ||
{{- end }} | ||
{{- with .Values.global.imagePullSecrets }} | ||
imagePullSecrets: | ||
{{- toYaml . | nindent 2 }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{{- if .Values.config -}} | ||
{{- if not .Values.config.apiVersion -}} | ||
{{- fail "config.apiVersion must be set" -}} | ||
{{- end -}} | ||
|
||
{{- if not .Values.config.kind -}} | ||
{{- fail "config.kind must be set" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "cert-manager.fullname" . }} | ||
namespace: {{ include "cert-manager.namespace" . }} | ||
labels: | ||
app: {{ include "cert-manager.name" . }} | ||
app.kubernetes.io/name: {{ include "cert-manager.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/component: "controller" | ||
{{- include "labels" . | nindent 4 }} | ||
data: | ||
{{- if .Values.config }} | ||
config.yaml: | | ||
{{ .Values.config | toYaml | nindent 4 }} | ||
{{- end }} |
Oops, something went wrong.