Improved root-app value handling
This commit is contained in:
parent
f460ef6276
commit
4a3ce8d101
@ -2,11 +2,14 @@
|
||||
|
||||
## Abstract
|
||||
KubeZero is a mildly opinionated collection of Kubernetes components to be deployed on a bare Kubernetes cluster.
|
||||
All components are 100% organic OpenSource.
|
||||
|
||||
## Quickstart
|
||||
|
||||
## Architecure
|
||||
|
||||
The kuberzero-app is root application Helm chart.
|
||||
This also implements the *umbrella chart* pattern in order to inject custom values into upstream charts.
|
||||
|
||||
## Components
|
||||
|
||||
|
@ -2,4 +2,4 @@ apiVersion: v2
|
||||
name: kubezero-app
|
||||
description: KubeZero ArgoCD Application - Root chart of the KubeZero
|
||||
type: application
|
||||
version: 0.1.0
|
||||
version: 0.1.1
|
||||
|
@ -8,11 +8,11 @@ spec:
|
||||
project: kubezero
|
||||
|
||||
source:
|
||||
repoURL: {{ .Values.source.repoURL }}
|
||||
targetRevision: {{ .Values.source.targetRevision }}
|
||||
path: {{ .Values.source.pathPrefix }}/artifacts/calico
|
||||
repoURL: {{ default .Values.defaultSource.repoURL }}
|
||||
targetRevision: {{ default .Values.defaultSource.targetRevision }}
|
||||
path: {{ default .Values.defaultSource.pathPrefix }}/artifacts/calico
|
||||
|
||||
destination:
|
||||
server: {{ .Values.destination.server }}
|
||||
server: {{ default .Values.defaultDestination.server }}
|
||||
namespace: kube-system
|
||||
{{- end }}
|
||||
|
@ -10,11 +10,11 @@ spec:
|
||||
project: kubezero
|
||||
|
||||
source:
|
||||
repoURL: {{ .Values.source.repoURL }}
|
||||
targetRevision: {{ .Values.source.targetRevision }}
|
||||
path: {{ .Values.source.pathPrefix }}/artifacts/local-volume-provisioner
|
||||
repoURL: {{ default .Values.defaultSource.repoURL }}
|
||||
targetRevision: {{ default .Values.defaultSource.targetRevision }}
|
||||
path: {{ default .Values.defaultSource.pathPrefix }}/artifacts/local-volume-provisioner
|
||||
|
||||
destination:
|
||||
server: {{ .Values.destination.server }}
|
||||
server: {{ default .Values.defaultDestination.server }}
|
||||
namespace: kube-system
|
||||
{{- end }}
|
||||
|
@ -1,6 +1,7 @@
|
||||
destination:
|
||||
defaultDestination:
|
||||
server: https://kubernetes.default.svc
|
||||
source:
|
||||
|
||||
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
|
||||
|
@ -1,7 +1,7 @@
|
||||
apiVersion: v2
|
||||
description: KubeZero Helm chart to install Zero Down Time Kuberenetes platform
|
||||
name: kubezero
|
||||
version: 0.1.7
|
||||
version: 0.1.8
|
||||
home: https://kubezero.com
|
||||
keywords:
|
||||
- kubezero
|
||||
|
@ -15,11 +15,18 @@ spec:
|
||||
repoURL: https://github.com/Zero-Down-Time/kubezero
|
||||
targetRevision: HEAD
|
||||
path: charts/kubezero-app
|
||||
|
||||
{{- if .Values.config }}
|
||||
helm:
|
||||
values: |
|
||||
{{- toYaml .Values.config | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
prune: true
|
||||
selfHeal: false
|
||||
{{- end }}
|
||||
|
@ -24,4 +24,8 @@ spec:
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: cert-manager
|
||||
server: https://kubernetes.default.svc
|
||||
|
||||
clusterResourceWhitelist:
|
||||
- group: '*'
|
||||
kind: '*'
|
||||
{{- end }}
|
||||
|
@ -1,5 +1,14 @@
|
||||
bootstrap: true
|
||||
|
||||
#config:
|
||||
# defaultSource:
|
||||
# repoURL: https://myprivate.repo.com/k8s-components
|
||||
# pathPrefix: 'some-folder'
|
||||
#
|
||||
# # Enabled component
|
||||
# calico:
|
||||
# enabled: true
|
||||
|
||||
argo-cd:
|
||||
installCRDs: false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user