Introduce helm-docs, add initial cert-manager
This commit is contained in:
parent
1cb6adb821
commit
fb2252f602
2
.helmdocsignore
Normal file
2
.helmdocsignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Ignore sub-charts
|
||||||
|
charts/*/charts/*
|
@ -2,4 +2,11 @@ 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.1.2
|
version: 0.1.3
|
||||||
|
home: https://kubezero.com
|
||||||
|
keywords:
|
||||||
|
- kubezero
|
||||||
|
- argocd
|
||||||
|
- gitops
|
||||||
|
maintainers:
|
||||||
|
- name: Quarky9
|
||||||
|
21
charts/kubezero-app/README.md
Normal file
21
charts/kubezero-app/README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
kubezero-app
|
||||||
|
============
|
||||||
|
KubeZero ArgoCD Application - Root chart of the KubeZero
|
||||||
|
|
||||||
|
Current chart version is `0.1.3`
|
||||||
|
|
||||||
|
Source code can be found [here](https://kubezero.com)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Chart Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| calico.enabled | bool | `false` | |
|
||||||
|
| certManager.enabled | bool | `false` | |
|
||||||
|
| defaultDestination.server | string | `"https://kubernetes.default.svc"` | |
|
||||||
|
| defaultSource.pathPrefix | string | `""` | optional path prefix within repoURL to support eg. remote subtrees |
|
||||||
|
| defaultSource.repoURL | string | `"https://github.com/zero-down-time/kubezero"` | default repository for argocd applications |
|
||||||
|
| defaultSource.targetRevision | string | `"HEAD"` | default tracking of repoURL |
|
||||||
|
| localVolumeProvisioner.enabled | bool | `false` | |
|
@ -4,6 +4,11 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: calico
|
name: calico
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Chart.Name }}-calico
|
||||||
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/part-of: kubezero
|
||||||
spec:
|
spec:
|
||||||
project: kubezero
|
project: kubezero
|
||||||
|
|
||||||
|
23
charts/kubezero-app/templates/cert-manager.yaml
Normal file
23
charts/kubezero-app/templates/cert-manager.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{{- if .Values.certManager.enabled }}
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: cert-manager
|
||||||
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Chart.Name }}-cert-manager
|
||||||
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/part-of: kubezero
|
||||||
|
spec:
|
||||||
|
project: kubezero
|
||||||
|
|
||||||
|
source:
|
||||||
|
repoURL: {{ default .Values.defaultSource.repoURL }}
|
||||||
|
targetRevision: {{ default .Values.defaultSource.targetRevision }}
|
||||||
|
path: {{ default .Values.defaultSource.pathPrefix }}artifacts/cert-manager
|
||||||
|
|
||||||
|
destination:
|
||||||
|
server: {{ default .Values.defaultDestination.server }}
|
||||||
|
namespace: kube-system
|
||||||
|
{{- end }}
|
@ -4,6 +4,11 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: local-volume-provisioner
|
name: local-volume-provisioner
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Chart.Name }}-localVolumeProvisioner
|
||||||
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/part-of: kubezero
|
||||||
finalizers:
|
finalizers:
|
||||||
- resources-finalizer.argocd.argoproj.io
|
- resources-finalizer.argocd.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
|
19
charts/kubezero-app/values-all.yaml
Normal file
19
charts/kubezero-app/values-all.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
defaultDestination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
|
||||||
|
defaultSource:
|
||||||
|
# This repoURL is used a base for all the repoURLs applications
|
||||||
|
# Setting this to a eg. private git repo incl. the use of pathPrefix allows kubezero to be
|
||||||
|
# integrated into any repository as a git subtree if for example public internet access is unavailable
|
||||||
|
repoURL: https://github.com/zero-down-time/kubezero
|
||||||
|
targetRevision: HEAD
|
||||||
|
pathPrefix: ''
|
||||||
|
|
||||||
|
calico:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
localVolumeProvisioner:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
certManager:
|
||||||
|
enabled: true
|
@ -1,12 +1,15 @@
|
|||||||
defaultDestination:
|
defaultDestination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
|
||||||
defaultSource:
|
|
||||||
# This repoURL is used a base for all the repoURLs applications
|
# This repoURL is used a base for all the repoURLs applications
|
||||||
# Setting this to a eg. private git repo incl. the use of pathPrefix allows kubezero to be
|
# Setting this to a eg. private git repo incl. the use of pathPrefix allows kubezero to be
|
||||||
# integrated into any repository as a git subtree if for example public internet access is unavailable
|
# integrated into any repository as a git subtree if for example public internet access is unavailable
|
||||||
|
defaultSource:
|
||||||
|
# defaultSource.repoURL -- default repository for argocd applications
|
||||||
repoURL: https://github.com/zero-down-time/kubezero
|
repoURL: https://github.com/zero-down-time/kubezero
|
||||||
|
# defaultSource.targetRevision -- default tracking of repoURL
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
|
# defaultSource.pathPrefix -- optional path prefix within repoURL to support eg. remote subtrees
|
||||||
pathPrefix: ''
|
pathPrefix: ''
|
||||||
|
|
||||||
calico:
|
calico:
|
||||||
@ -14,3 +17,6 @@ calico:
|
|||||||
|
|
||||||
localVolumeProvisioner:
|
localVolumeProvisioner:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
certManager:
|
||||||
|
enabled: false
|
||||||
|
@ -1 +1,38 @@
|
|||||||
https://blog.1q77.com/2020/03/argocd-istio-ingress/
|
kubezero
|
||||||
|
========
|
||||||
|
KubeZero Helm chart to install Zero Down Time Kuberenetes platform
|
||||||
|
|
||||||
|
Current chart version is `0.1.8`
|
||||||
|
|
||||||
|
Source code can be found [here](https://kubezero.com)
|
||||||
|
|
||||||
|
## Chart Requirements
|
||||||
|
|
||||||
|
| Repository | Name | Version |
|
||||||
|
|------------|------|---------|
|
||||||
|
| https://argoproj.github.io/argo-helm | argo-cd | 2.2.12 |
|
||||||
|
|
||||||
|
## Chart Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| argo-cd.controller.nodeSelector."node-role.kubernetes.io/master" | string | `""` | |
|
||||||
|
| argo-cd.controller.tolerations[0].effect | string | `"NoSchedule"` | |
|
||||||
|
| argo-cd.controller.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
||||||
|
| argo-cd.dex.enabled | bool | `false` | |
|
||||||
|
| argo-cd.installCRDs | bool | `false` | |
|
||||||
|
| argo-cd.redis.nodeSelector."node-role.kubernetes.io/master" | string | `""` | |
|
||||||
|
| argo-cd.redis.tolerations[0].effect | string | `"NoSchedule"` | |
|
||||||
|
| argo-cd.redis.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
||||||
|
| argo-cd.repoServer.nodeSelector."node-role.kubernetes.io/master" | string | `""` | |
|
||||||
|
| argo-cd.repoServer.tolerations[0].effect | string | `"NoSchedule"` | |
|
||||||
|
| argo-cd.repoServer.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
||||||
|
| argo-cd.server.config.url | string | `"argocd.example.com"` | |
|
||||||
|
| argo-cd.server.extraArgs[0] | string | `"--insecure"` | |
|
||||||
|
| argo-cd.server.nodeSelector."node-role.kubernetes.io/master" | string | `""` | |
|
||||||
|
| argo-cd.server.service.servicePortHttpsName | string | `"grpc"` | |
|
||||||
|
| argo-cd.server.tolerations[0].effect | string | `"NoSchedule"` | |
|
||||||
|
| argo-cd.server.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
||||||
|
| bootstrap | bool | `true` | |
|
||||||
|
| istio.enabled | bool | `false` | |
|
||||||
|
| istio.gateway | string | `"ingressgateway.istio-system.svc.cluster.local"` | |
|
||||||
|
Loading…
Reference in New Issue
Block a user