Revert annotations for cert-manager, enable selfheal for cert-manager to work around bootstrap issues
This commit is contained in:
parent
2602953c01
commit
819ebf4cf8
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezero-app
|
name: kubezero-app
|
||||||
description: KubeZero ArgoCD Application - Root chart of the KubeZero
|
description: KubeZero ArgoCD Application - Root chart of the KubeZero
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -2,7 +2,7 @@ kubezero-app
|
|||||||
============
|
============
|
||||||
KubeZero ArgoCD Application - Root chart of the KubeZero
|
KubeZero ArgoCD Application - Root chart of the KubeZero
|
||||||
|
|
||||||
Current chart version is `0.2.2`
|
Current chart version is `0.2.4`
|
||||||
|
|
||||||
Source code can be found [here](https://kubezero.com)
|
Source code can be found [here](https://kubezero.com)
|
||||||
|
|
||||||
|
@ -35,5 +35,7 @@ spec:
|
|||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: false
|
{{- if .selfheal }}
|
||||||
|
selfHeal: true
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{- if index .Values "cert-manager" "enabled" }}
|
{{- if index .Values "cert-manager" "enabled" }}
|
||||||
{{ template "kubezero-app.app" dict "root" . "name" "cert-manager" "type" "helm" "namespace" "cert-manager" }}
|
{{ template "kubezero-app.app" dict "root" . "name" "cert-manager" "type" "helm" "namespace" "cert-manager" "selfheal" "true" }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
|
@ -2,7 +2,7 @@ kubezero-cert-manager
|
|||||||
=====================
|
=====================
|
||||||
KubeZero Umbrella Chart for cert-manager
|
KubeZero Umbrella Chart for cert-manager
|
||||||
|
|
||||||
Current chart version is `0.3.3`
|
Current chart version is `0.3.4`
|
||||||
|
|
||||||
Source code can be found [here](https://kubezero.com)
|
Source code can be found [here](https://kubezero.com)
|
||||||
|
|
||||||
@ -10,9 +10,19 @@ Source code can be found [here](https://kubezero.com)
|
|||||||
|
|
||||||
| Repository | Name | Version |
|
| Repository | Name | Version |
|
||||||
|------------|------|---------|
|
|------------|------|---------|
|
||||||
| https://charts.jetstack.io | cert-manager | 0.15.0 |
|
| https://charts.jetstack.io | cert-manager | 0.15.1 |
|
||||||
| https://zero-down-time.github.io/kubezero/ | kubezero-lib | >= 0.1.1 |
|
| https://zero-down-time.github.io/kubezero/ | kubezero-lib | >= 0.1.1 |
|
||||||
|
|
||||||
|
## AWS - IAM Role
|
||||||
|
If you use kiam or kube2iam and restrict access on nodes running cert-manager please adjust:
|
||||||
|
```
|
||||||
|
cert-manager.podAnnotations:
|
||||||
|
iam.amazonaws.com/role: <ROLE>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Resolver Secrets
|
||||||
|
If your resolvers need additional sercrets like CloudFlare API tokens etc. make sure to provide these secrets separatly matching your defined issuers.
|
||||||
|
|
||||||
## Chart Values
|
## Chart Values
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
@ -25,7 +35,7 @@ Source code can be found [here](https://kubezero.com)
|
|||||||
| cert-manager.ingressShim.defaultIssuerName | string | `"letsencrypt-dns-prod"` | |
|
| cert-manager.ingressShim.defaultIssuerName | string | `"letsencrypt-dns-prod"` | |
|
||||||
| cert-manager.installCRDs | bool | `true` | |
|
| cert-manager.installCRDs | bool | `true` | |
|
||||||
| cert-manager.nodeSelector."node-role.kubernetes.io/master" | string | `""` | |
|
| cert-manager.nodeSelector."node-role.kubernetes.io/master" | string | `""` | |
|
||||||
| cert-manager.podAnnotations."iam.amazonaws.com/role" | string | `""` | IAM role ARN the cert-manager might use via kiam eg."arn:aws:iam::123456789012:role/certManagerRoleArn" |
|
| cert-manager.podAnnotations | object | `{}` | "iam.amazonaws.com/roleIAM:" role ARN the cert-manager might use via kiam eg."arn:aws:iam::123456789012:role/certManagerRoleArn" |
|
||||||
| cert-manager.prometheus.servicemonitor.enabled | bool | `false` | |
|
| cert-manager.prometheus.servicemonitor.enabled | bool | `false` | |
|
||||||
| cert-manager.tolerations[0].effect | string | `"NoSchedule"` | |
|
| cert-manager.tolerations[0].effect | string | `"NoSchedule"` | |
|
||||||
| cert-manager.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
| cert-manager.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
||||||
|
20
charts/kubezero-cert-manager/README.md.gotmpl
Normal file
20
charts/kubezero-cert-manager/README.md.gotmpl
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{{ template "chart.header" . }}
|
||||||
|
{{ template "chart.description" . }}
|
||||||
|
|
||||||
|
{{ template "chart.versionLine" . }}
|
||||||
|
|
||||||
|
{{ template "chart.sourceLinkLine" . }}
|
||||||
|
|
||||||
|
{{ template "chart.requirementsSection" . }}
|
||||||
|
|
||||||
|
## AWS - IAM Role
|
||||||
|
If you use kiam or kube2iam and restrict access on nodes running cert-manager please adjust:
|
||||||
|
```
|
||||||
|
cert-manager.podAnnotations:
|
||||||
|
iam.amazonaws.com/role: <ROLE>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Resolver Secrets
|
||||||
|
If your resolvers need additional sercrets like CloudFlare API tokens etc. make sure to provide these secrets separatly matching your defined issuers.
|
||||||
|
|
||||||
|
{{ template "chart.valuesSection" . }}
|
@ -9,8 +9,6 @@ metadata:
|
|||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
{{ include "kubezero-lib.labels" . | indent 4 }}
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
annotations:
|
|
||||||
"helm.sh/hook": "post-install"
|
|
||||||
spec:
|
spec:
|
||||||
selfSigned: {}
|
selfSigned: {}
|
||||||
---
|
---
|
||||||
@ -21,8 +19,6 @@ metadata:
|
|||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
{{ include "kubezero-lib.labels" . | indent 4 }}
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
annotations:
|
|
||||||
"helm.sh/hook": "post-install"
|
|
||||||
spec:
|
spec:
|
||||||
secretName: kubezero-ca-tls
|
secretName: kubezero-ca-tls
|
||||||
commonName: "kubezero-local-ca"
|
commonName: "kubezero-local-ca"
|
||||||
@ -41,8 +37,6 @@ metadata:
|
|||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
{{ include "kubezero-lib.labels" . | indent 4 }}
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
annotations:
|
|
||||||
"helm.sh/hook": "post-install"
|
|
||||||
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 }}
|
||||||
@ -56,8 +50,6 @@ metadata:
|
|||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
{{ include "kubezero-lib.labels" . | indent 4 }}
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
annotations:
|
|
||||||
"helm.sh/hook": "post-install"
|
|
||||||
spec:
|
spec:
|
||||||
ca:
|
ca:
|
||||||
secretName: kubezero-ca-tls
|
secretName: kubezero-ca-tls
|
||||||
|
@ -45,6 +45,6 @@ cert-manager:
|
|||||||
prometheus:
|
prometheus:
|
||||||
servicemonitor:
|
servicemonitor:
|
||||||
enabled: false
|
enabled: false
|
||||||
# cert-manager.podAnnotations."iam.amazonaws.com/role" -- IAM role ARN the cert-manager might use via kiam eg."arn:aws:iam::123456789012:role/certManagerRoleArn"
|
# cert-manager.podAnnotations -- "iam.amazonaws.com/roleIAM:" role ARN the cert-manager might use via kiam eg."arn:aws:iam::123456789012:role/certManagerRoleArn"
|
||||||
podAnnotations:
|
podAnnotations: {}
|
||||||
iam.amazonaws.com/role: ""
|
# iam.amazonaws.com/role: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user