2020-06-30 13:56:20 +00:00
|
|
|
kubezero:
|
2020-06-30 15:10:45 +00:00
|
|
|
{{- if .Values.global }}
|
2020-07-03 14:38:45 +00:00
|
|
|
global:
|
2020-06-30 15:10:45 +00:00
|
|
|
{{- toYaml .Values.global | nindent 4 }}
|
|
|
|
{{- end }}
|
2020-06-30 13:56:20 +00:00
|
|
|
calico:
|
|
|
|
enabled: {{ .Values.calico.enabled }}
|
2020-07-07 17:42:24 +00:00
|
|
|
type: {{ default "kustomize" .Values.calico.type }}
|
2020-07-07 12:50:08 +00:00
|
|
|
values:
|
2020-07-07 17:42:24 +00:00
|
|
|
migration: {{ default false .Values.calico.migration }}
|
|
|
|
prometheus: false
|
|
|
|
# prometheus: {{ .Values.prometheus.enabled }}
|
2020-07-07 12:50:08 +00:00
|
|
|
{{- if .Values.calico.network }}
|
|
|
|
network: {{ .Values.calico.network }}
|
|
|
|
{{- end }}
|
2020-06-30 13:56:20 +00:00
|
|
|
cert-manager:
|
|
|
|
enabled: {{ index .Values "cert-manager" "enabled" }}
|
|
|
|
values:
|
2020-06-30 15:10:45 +00:00
|
|
|
{{- if .Values.bootstrap }}
|
|
|
|
localCA:
|
|
|
|
enabled: false
|
|
|
|
{{- else }}
|
2020-06-30 13:56:20 +00:00
|
|
|
{{- if .Values.aws }}
|
|
|
|
cert-manager:
|
|
|
|
podAnnotations:
|
|
|
|
iam.amazonaws.com/role: "{{ index .Values "cert-manager" "IamArn" }}"
|
|
|
|
{{- end }}
|
|
|
|
clusterIssuer:
|
|
|
|
name: letsencrypt-dns-prod
|
|
|
|
server: https://acme-v02.api.letsencrypt.org/directory
|
|
|
|
email: {{ index .Values "cert-manager" "email" }}
|
|
|
|
solvers:
|
|
|
|
- selector:
|
2020-06-30 15:10:45 +00:00
|
|
|
dnsZones:
|
|
|
|
{{- with index .Values "cert-manager" "dnsZones" }}
|
|
|
|
{{- . | toYaml | nindent 14 }}
|
|
|
|
{{- end }}
|
2020-06-30 13:56:20 +00:00
|
|
|
dns01:
|
|
|
|
{{- if .Values.aws }}
|
|
|
|
route53:
|
|
|
|
region: {{ .Values.region }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- if .Values.aws }}
|
|
|
|
aws-ebs-csi-driver:
|
|
|
|
enabled: {{ index .Values "aws-ebs-csi-driver" "enabled" }}
|
|
|
|
values:
|
|
|
|
aws-ebs-csi-driver:
|
|
|
|
replicaCount: {{ ternary 2 1 .Values.HighAvailableControlplane }}
|
|
|
|
podAnnotations:
|
|
|
|
iam.amazonaws.com/role: "{{ index .Values "aws-ebs-csi-driver" "IamArn" }}"
|
|
|
|
extraVolumeTags:
|
|
|
|
Name: {{ .Values.ClusterName }}
|
|
|
|
kiam:
|
|
|
|
enabled: {{ .Values.kiam.enabled }}
|
|
|
|
values:
|
|
|
|
kiam:
|
|
|
|
server:
|
|
|
|
assumeRoleArn: "{{ .Values.kiam.IamArn }}"
|
|
|
|
deployment:
|
|
|
|
replicas: {{ ternary 2 1 .Values.HighAvailableControlplane }}
|
|
|
|
prometheus:
|
|
|
|
servicemonitor:
|
|
|
|
enabled: {{ .Values.prometheus.enabled }}
|
|
|
|
{{- end }}
|
2020-07-15 14:21:49 +00:00
|
|
|
|
|
|
|
istio:
|
|
|
|
enabled: {{ .Values.istio.enabled }}
|
|
|
|
|
2020-06-30 13:56:20 +00:00
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
argo-cd:
|
|
|
|
{{- with index .Values "argo-cd" "server" }}
|
|
|
|
server:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with index .Values "argo-cd" "configs" }}
|
|
|
|
configs:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if not .Values.bootstrap }}
|
|
|
|
istio:
|
|
|
|
enabled: {{ .Values.istio.enabled }}
|
|
|
|
gateway: private-ingressgateway.istio-system.svc.cluster.local
|
|
|
|
{{- end }}
|