Make IPPool optional to fix bootstrap issues, doc fixes

This commit is contained in:
Stefan Reimer 2020-07-15 11:44:43 +01:00
parent de862c7a7e
commit ca110d6245
7 changed files with 24 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-calico name: kubezero-calico
description: KubeZero Umbrella Chart for Calico description: KubeZero Umbrella Chart for Calico
type: application type: application
version: 0.1.5 version: 0.1.6
appVersion: 3.15 appVersion: 3.15
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

View File

@ -2,7 +2,7 @@ kubezero-calico
=============== ===============
KubeZero Umbrella Chart for Calico KubeZero Umbrella Chart for Calico
Current chart version is `0.1.5` Current chart version is `0.1.6`
Source code can be found [here](https://kubezero.com) Source code can be found [here](https://kubezero.com)
@ -34,6 +34,17 @@ The setup is based on the upstream calico-vxlan config from
- Set FELIX log level to warning - Set FELIX log level to warning
## Chart Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| customIPPool | object | `{}` | |
| installCRDs | bool | `false` | |
| loglevel | string | `"Warning"` | |
| migration | bool | `false` | |
| mtu | int | `8941` | |
| network | string | `"vxlan"` | |
| prometheus | bool | `false` | |
## Resources ## Resources

View File

@ -29,6 +29,7 @@ The setup is based on the upstream calico-vxlan config from
- Set FELIX log level to warning - Set FELIX log level to warning
{{ template "chart.valuesSection" . }}
## Resources ## Resources

View File

@ -1,3 +1,4 @@
{{- if .Values.customIPPool }}
apiVersion: crd.projectcalico.org/v1 apiVersion: crd.projectcalico.org/v1
kind: IPPool kind: IPPool
metadata: metadata:
@ -9,3 +10,4 @@ spec:
natOutgoing: true natOutgoing: true
nodeSelector: all() nodeSelector: all()
vxlanMode: Always vxlanMode: Always
{{- end }}

View File

@ -1,7 +1,5 @@
installCRDs: false installCRDs: false
migration: false
network: vxlan network: vxlan
mtu: 8941 mtu: 8941
@ -9,3 +7,9 @@ mtu: 8941
loglevel: Warning loglevel: Warning
prometheus: false prometheus: false
customIPPool: {}
# Soon to be removed
migration: false

View File

@ -20,6 +20,7 @@ Source code can be found [here](https://kubezero.com)
- mapped istio-operator to run on the controller nodes only - mapped istio-operator to run on the controller nodes only
## Resources ## Resources
- https://istio.io/latest/docs/setup/install/standalone-operator/ - https://istio.io/latest/docs/setup/install/standalone-operator/

View File

@ -13,6 +13,7 @@ Installs Istio Operator and KubeZero Istio profile
## KubeZero default configuration ## KubeZero default configuration
- mapped istio-operator to run on the controller nodes only - mapped istio-operator to run on the controller nodes only
{{ template "chart.valuesSection" . }}
## Resources ## Resources