Compare commits
1 Commits
main
...
renovate/k
Author | SHA1 | Date | |
---|---|---|---|
d212ca4ce3 |
@ -251,7 +251,7 @@ control_plane_node() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# see if we are a former member and remove our former self if so
|
# see if we are a former member and remove our former self if so
|
||||||
MY_ID=$(etcdctl member list --endpoints=$etcd_endpoints | grep $ETCD_NODENAME | awk '{print $1}' | sed -e 's/,$//' || true)
|
MY_ID=$(etcdctl member list --endpoints=$etcd_endpoints | grep $ETCD_NODENAME | awk '{print $1}' | sed -e 's/,$//')
|
||||||
[ -n "$MY_ID" ] && retry 12 5 5 etcdctl member remove $MY_ID --endpoints=$etcd_endpoints
|
[ -n "$MY_ID" ] && retry 12 5 5 etcdctl member remove $MY_ID --endpoints=$etcd_endpoints
|
||||||
|
|
||||||
# flush etcd data directory as joining with previous storage seems flaky, especially during etcd version upgrades
|
# flush etcd data directory as joining with previous storage seems flaky, especially during etcd version upgrades
|
||||||
|
@ -83,9 +83,6 @@ function get_kubezero_secret() {
|
|||||||
|
|
||||||
|
|
||||||
function ensure_kubezero_secret_key() {
|
function ensure_kubezero_secret_key() {
|
||||||
local ns=$1
|
|
||||||
local secret=$2
|
|
||||||
|
|
||||||
local secret="$(kubectl get secret -n $ns $secret -o yaml)"
|
local secret="$(kubectl get secret -n $ns $secret -o yaml)"
|
||||||
local key
|
local key
|
||||||
local val
|
local val
|
||||||
@ -267,11 +264,6 @@ function _helm() {
|
|||||||
|
|
||||||
crds
|
crds
|
||||||
|
|
||||||
elif [ $action == "dryrun" ]; then
|
|
||||||
cat $WORKDIR/values.yaml
|
|
||||||
render
|
|
||||||
cat $WORKDIR/helm.yaml
|
|
||||||
|
|
||||||
elif [ $action == "apply" -o $action == "replace" ]; then
|
elif [ $action == "apply" -o $action == "replace" ]; then
|
||||||
echo "using values to $action of module $module: "
|
echo "using values to $action of module $module: "
|
||||||
cat $WORKDIR/values.yaml
|
cat $WORKDIR/values.yaml
|
||||||
|
@ -10,14 +10,7 @@ def migrate(values):
|
|||||||
|
|
||||||
# 1.32
|
# 1.32
|
||||||
try:
|
try:
|
||||||
values["istio-ingress"]["gateway"]["service"]["extraPorts"] = values["istio-ingress"]["gateway"]["service"]["ports"]
|
|
||||||
values["istio-ingress"]["gateway"]["service"].pop("ports")
|
|
||||||
except KeyError:
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
|
||||||
values["istio-private-ingress"]["gateway"]["service"]["extraPorts"] = values["istio-private-ingress"]["gateway"]["service"]["ports"]
|
|
||||||
values["istio-private-ingress"]["gateway"]["service"].pop("ports")
|
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@ apiVersion: v2
|
|||||||
name: kubezero-addons
|
name: kubezero-addons
|
||||||
description: KubeZero umbrella chart for various optional cluster addons
|
description: KubeZero umbrella chart for various optional cluster addons
|
||||||
type: application
|
type: application
|
||||||
version: 0.8.15
|
version: 0.8.14
|
||||||
appVersion: v1.32
|
appVersion: v1.31
|
||||||
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:
|
||||||
@ -34,7 +34,7 @@ dependencies:
|
|||||||
repository: https://nvidia.github.io/k8s-device-plugin
|
repository: https://nvidia.github.io/k8s-device-plugin
|
||||||
condition: nvidia-device-plugin.enabled
|
condition: nvidia-device-plugin.enabled
|
||||||
- name: neuron-helm-chart
|
- name: neuron-helm-chart
|
||||||
version: 1.1.2
|
version: 1.1.1
|
||||||
# https://github.com/aws-neuron/neuron-helm-charts/tree/main/charts/neuron-helm-chart
|
# https://github.com/aws-neuron/neuron-helm-charts/tree/main/charts/neuron-helm-chart
|
||||||
repository: oci://public.ecr.aws/neuron #/neuron-helm-chart
|
repository: oci://public.ecr.aws/neuron #/neuron-helm-chart
|
||||||
condition: neuron-helm-chart.enabled
|
condition: neuron-helm-chart.enabled
|
||||||
@ -43,7 +43,7 @@ dependencies:
|
|||||||
repository: https://bitnami-labs.github.io/sealed-secrets
|
repository: https://bitnami-labs.github.io/sealed-secrets
|
||||||
condition: sealed-secrets.enabled
|
condition: sealed-secrets.enabled
|
||||||
- name: aws-node-termination-handler
|
- name: aws-node-termination-handler
|
||||||
version: 0.27.1
|
version: 0.27.0
|
||||||
repository: "oci://public.ecr.aws/aws-ec2/helm"
|
repository: "oci://public.ecr.aws/aws-ec2/helm"
|
||||||
condition: aws-node-termination-handler.enabled
|
condition: aws-node-termination-handler.enabled
|
||||||
- name: aws-eks-asg-rolling-update-handler
|
- name: aws-eks-asg-rolling-update-handler
|
||||||
@ -54,4 +54,4 @@ dependencies:
|
|||||||
version: 0.3.2
|
version: 0.3.2
|
||||||
repository: https://caas-team.github.io/helm-charts/
|
repository: https://caas-team.github.io/helm-charts/
|
||||||
condition: py-kube-downscaler.enabled
|
condition: py-kube-downscaler.enabled
|
||||||
kubeVersion: ">= 1.31.0-0"
|
kubeVersion: ">= 1.30.0-0"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# kubezero-addons
|
# kubezero-addons
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
KubeZero umbrella chart for various optional cluster addons
|
KubeZero umbrella chart for various optional cluster addons
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ KubeZero umbrella chart for various optional cluster addons
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Kubernetes: `>= 1.31.0-0`
|
Kubernetes: `>= 1.30.0-0`
|
||||||
|
|
||||||
| Repository | Name | Version |
|
| Repository | Name | Version |
|
||||||
|------------|------|---------|
|
|------------|------|---------|
|
||||||
@ -24,8 +24,8 @@ Kubernetes: `>= 1.31.0-0`
|
|||||||
| https://kubernetes.github.io/autoscaler | cluster-autoscaler | 9.46.6 |
|
| https://kubernetes.github.io/autoscaler | cluster-autoscaler | 9.46.6 |
|
||||||
| https://nvidia.github.io/k8s-device-plugin | nvidia-device-plugin | 0.17.1 |
|
| https://nvidia.github.io/k8s-device-plugin | nvidia-device-plugin | 0.17.1 |
|
||||||
| https://twin.github.io/helm-charts | aws-eks-asg-rolling-update-handler | 1.5.0 |
|
| https://twin.github.io/helm-charts | aws-eks-asg-rolling-update-handler | 1.5.0 |
|
||||||
| oci://public.ecr.aws/aws-ec2/helm | aws-node-termination-handler | 0.27.1 |
|
| oci://public.ecr.aws/aws-ec2/helm | aws-node-termination-handler | 0.27.0 |
|
||||||
| oci://public.ecr.aws/neuron | neuron-helm-chart | 1.1.2 |
|
| oci://public.ecr.aws/neuron | neuron-helm-chart | 1.1.1 |
|
||||||
|
|
||||||
# MetalLB
|
# MetalLB
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 1.25.1
|
appVersion: 1.25.0
|
||||||
description: A Helm chart for the AWS Node Termination Handler.
|
description: A Helm chart for the AWS Node Termination Handler.
|
||||||
home: https://github.com/aws/aws-node-termination-handler/
|
home: https://github.com/aws/aws-node-termination-handler/
|
||||||
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
|
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
|
||||||
@ -21,4 +21,4 @@ name: aws-node-termination-handler
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/aws/aws-node-termination-handler/
|
- https://github.com/aws/aws-node-termination-handler/
|
||||||
type: application
|
type: application
|
||||||
version: 0.27.1
|
version: 0.27.0
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
description: KubeZero Argo - Events, Workflow, CD
|
description: KubeZero Argo - Events, Workflow, CD
|
||||||
name: kubezero-argo
|
name: kubezero-argo
|
||||||
version: 0.4.0
|
version: 0.4.1
|
||||||
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:
|
||||||
@ -22,11 +22,11 @@ dependencies:
|
|||||||
repository: https://argoproj.github.io/argo-helm
|
repository: https://argoproj.github.io/argo-helm
|
||||||
condition: argo-events.enabled
|
condition: argo-events.enabled
|
||||||
- name: argo-cd
|
- name: argo-cd
|
||||||
version: 8.0.9
|
version: 8.0.14
|
||||||
repository: https://argoproj.github.io/argo-helm
|
repository: https://argoproj.github.io/argo-helm
|
||||||
condition: argo-cd.enabled
|
condition: argo-cd.enabled
|
||||||
- name: argocd-image-updater
|
- name: argocd-image-updater
|
||||||
version: 0.12.1
|
version: 0.12.2
|
||||||
repository: https://argoproj.github.io/argo-helm
|
repository: https://argoproj.github.io/argo-helm
|
||||||
condition: argocd-image-updater.enabled
|
condition: argocd-image-updater.enabled
|
||||||
kubeVersion: ">= 1.30.0-0"
|
kubeVersion: ">= 1.30.0-0"
|
||||||
|
@ -26,7 +26,7 @@ argo-events:
|
|||||||
versions:
|
versions:
|
||||||
- version: 2.10.11
|
- version: 2.10.11
|
||||||
natsImage: nats:2.11.1-scratch
|
natsImage: nats:2.11.1-scratch
|
||||||
metricsExporterImage: natsio/prometheus-nats-exporter:0.17.3
|
metricsExporterImage: natsio/prometheus-nats-exporter:0.17.2
|
||||||
configReloaderImage: natsio/nats-server-config-reloader:0.14.1
|
configReloaderImage: natsio/nats-server-config-reloader:0.14.1
|
||||||
startCommand: /nats-server
|
startCommand: /nats-server
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezero-falco
|
name: kubezero-falco
|
||||||
description: Falco Container Security and Audit components
|
description: Falco Container Security and Audit components
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.3
|
version: 0.1.2
|
||||||
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:
|
||||||
@ -16,7 +16,7 @@ dependencies:
|
|||||||
version: 0.2.1
|
version: 0.2.1
|
||||||
repository: https://cdn.zero-downtime.net/charts/
|
repository: https://cdn.zero-downtime.net/charts/
|
||||||
- name: falco
|
- name: falco
|
||||||
version: 5.0.0
|
version: 4.2.5
|
||||||
repository: https://falcosecurity.github.io/charts
|
repository: https://falcosecurity.github.io/charts
|
||||||
condition: k8saudit.enabled
|
condition: k8saudit.enabled
|
||||||
alias: k8saudit
|
alias: k8saudit
|
||||||
|
@ -42,3 +42,17 @@ helm.sh/chart: {{ include "kubezero-lib.chart" . }}
|
|||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/part-of: kubezero
|
app.kubernetes.io/part-of: kubezero
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- /*
|
||||||
|
kubezero-lib.util.merge will merge two YAML templates and output the result.
|
||||||
|
This takes an array of three values:
|
||||||
|
- the top context
|
||||||
|
- the template name of the overrides (destination)
|
||||||
|
- the template name of the base (source)
|
||||||
|
*/ -}}
|
||||||
|
{{- define "kubezero-lib.util.merge" -}}
|
||||||
|
{{- $top := first . -}}
|
||||||
|
{{- $overrides := fromYaml (include (index . 1) $top) | default (dict ) -}}
|
||||||
|
{{- $tpl := fromYaml (include (index . 2) $top) | default (dict ) -}}
|
||||||
|
{{- toYaml (merge $overrides $tpl) -}}
|
||||||
|
{{- end -}}
|
||||||
|
@ -12,7 +12,7 @@ kube-prometheus-stack:
|
|||||||
kubeStateMetrics:
|
kubeStateMetrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
kubeProxy:
|
kubeProxy:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
|
||||||
kubeEtcd:
|
kubeEtcd:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezero-mq
|
name: kubezero-mq
|
||||||
description: KubeZero umbrella chart for MQ systems like NATS, RabbitMQ
|
description: KubeZero umbrella chart for MQ systems like NATS, RabbitMQ
|
||||||
type: application
|
type: application
|
||||||
version: 0.3.12
|
version: 0.3.11
|
||||||
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:
|
||||||
@ -17,7 +17,7 @@ dependencies:
|
|||||||
version: 0.2.1
|
version: 0.2.1
|
||||||
repository: https://cdn.zero-downtime.net/charts/
|
repository: https://cdn.zero-downtime.net/charts/
|
||||||
- name: nats
|
- name: nats
|
||||||
version: 1.3.7
|
version: 1.3.3
|
||||||
repository: https://nats-io.github.io/k8s/helm/charts/
|
repository: https://nats-io.github.io/k8s/helm/charts/
|
||||||
condition: nats.enabled
|
condition: nats.enabled
|
||||||
- name: rabbitmq
|
- name: rabbitmq
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# kubezero-mq
|
# kubezero-mq
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
KubeZero umbrella chart for MQ systems like NATS, RabbitMQ
|
KubeZero umbrella chart for MQ systems like NATS, RabbitMQ
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ Kubernetes: `>= 1.26.0`
|
|||||||
|------------|------|---------|
|
|------------|------|---------|
|
||||||
| https://cdn.zero-downtime.net/charts/ | kubezero-lib | 0.2.1 |
|
| https://cdn.zero-downtime.net/charts/ | kubezero-lib | 0.2.1 |
|
||||||
| https://charts.bitnami.com/bitnami | rabbitmq | 14.7.0 |
|
| https://charts.bitnami.com/bitnami | rabbitmq | 14.7.0 |
|
||||||
| https://nats-io.github.io/k8s/helm/charts/ | nats | 1.3.7 |
|
| https://nats-io.github.io/k8s/helm/charts/ | nats | 1.3.3 |
|
||||||
|
|
||||||
## Values
|
## Values
|
||||||
|
|
||||||
@ -32,8 +32,6 @@ Kubernetes: `>= 1.26.0`
|
|||||||
| nats.istio.gateway | string | `"istio-ingress/private-ingressgateway"` | |
|
| nats.istio.gateway | string | `"istio-ingress/private-ingressgateway"` | |
|
||||||
| nats.mqtt.enabled | bool | `false` | |
|
| nats.mqtt.enabled | bool | `false` | |
|
||||||
| nats.natsBox.enabled | bool | `false` | |
|
| nats.natsBox.enabled | bool | `false` | |
|
||||||
| nats.podTemplate.topologySpreadConstraints."kubernetes.io/hostname".maxSkew | int | `1` | |
|
|
||||||
| nats.podTemplate.topologySpreadConstraints."kubernetes.io/hostname".whenUnsatisfiable | string | `"DoNotSchedule"` | |
|
|
||||||
| nats.promExporter.enabled | bool | `false` | |
|
| nats.promExporter.enabled | bool | `false` | |
|
||||||
| nats.promExporter.podMonitor.enabled | bool | `false` | |
|
| nats.promExporter.podMonitor.enabled | bool | `false` | |
|
||||||
| rabbitmq.auth.existingErlangSecret | string | `"rabbitmq"` | |
|
| rabbitmq.auth.existingErlangSecret | string | `"rabbitmq"` | |
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
configmap: grafana-dashboards-nats
|
configmap: grafana-dashboards-nats
|
||||||
condition: '.Values.nats.promExporter.podMonitor.enabled'
|
condition: '.Values.nats.exporter.serviceMonitor.enabled'
|
||||||
gzip: true
|
gzip: true
|
||||||
# folder:
|
# folder:
|
||||||
dashboards:
|
dashboards:
|
||||||
- name: nats
|
- name: nats
|
||||||
url: https://grafana.com/api/dashboards/13707/revisions/1/download
|
url: https://grafana.com/api/dashboards/13707/revisions/1/download
|
||||||
|
@ -10,6 +10,7 @@ keywords:
|
|||||||
- multus
|
- multus
|
||||||
- cilium
|
- cilium
|
||||||
- aws-cni
|
- aws-cni
|
||||||
|
- metallb
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Stefan Reimer
|
- name: Stefan Reimer
|
||||||
email: stefan@zero-downtime.net
|
email: stefan@zero-downtime.net
|
||||||
@ -21,6 +22,10 @@ dependencies:
|
|||||||
version: 1.17.4
|
version: 1.17.4
|
||||||
repository: https://helm.cilium.io/
|
repository: https://helm.cilium.io/
|
||||||
condition: cilium.enabled
|
condition: cilium.enabled
|
||||||
|
- name: metallb
|
||||||
|
version: 0.14.9
|
||||||
|
repository: https://metallb.github.io/metallb
|
||||||
|
condition: metallb.enabled
|
||||||
- name: haproxy
|
- name: haproxy
|
||||||
version: 1.24.0
|
version: 1.24.0
|
||||||
repository: https://haproxytech.github.io/helm-charts
|
repository: https://haproxytech.github.io/helm-charts
|
||||||
|
@ -21,21 +21,19 @@ Kubernetes: `>= 1.30.0-0`
|
|||||||
| https://cdn.zero-downtime.net/charts/ | kubezero-lib | 0.2.1 |
|
| https://cdn.zero-downtime.net/charts/ | kubezero-lib | 0.2.1 |
|
||||||
| https://haproxytech.github.io/helm-charts | haproxy | 1.24.0 |
|
| https://haproxytech.github.io/helm-charts | haproxy | 1.24.0 |
|
||||||
| https://helm.cilium.io/ | cilium | 1.17.4 |
|
| https://helm.cilium.io/ | cilium | 1.17.4 |
|
||||||
|
| https://metallb.github.io/metallb | metallb | 0.14.9 |
|
||||||
|
|
||||||
## Values
|
## Values
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| cilium.bpf.preallocateMaps | bool | `true` | |
|
|
||||||
| cilium.cgroup.autoMount.enabled | bool | `false` | |
|
| cilium.cgroup.autoMount.enabled | bool | `false` | |
|
||||||
| cilium.cgroup.hostRoot | string | `"/sys/fs/cgroup"` | |
|
| cilium.cgroup.hostRoot | string | `"/sys/fs/cgroup"` | |
|
||||||
| cilium.cluster.id | int | `240` | |
|
| cilium.cluster.id | int | `240` | |
|
||||||
| cilium.cluster.name | string | `"default"` | |
|
| cilium.cluster.name | string | `"default"` | |
|
||||||
| cilium.cni.binPath | string | `"/usr/libexec/cni"` | |
|
| cilium.cni.binPath | string | `"/usr/libexec/cni"` | |
|
||||||
| cilium.cni.exclusive | bool | `true` | |
|
| cilium.cni.exclusive | bool | `false` | |
|
||||||
| cilium.cni.iptablesRemoveAWSRules | bool | `false` | |
|
|
||||||
| cilium.cni.logFile | string | `"/var/log/cilium-cni.log"` | |
|
| cilium.cni.logFile | string | `"/var/log/cilium-cni.log"` | |
|
||||||
| cilium.dnsProxy.enableTransparentMode | bool | `true` | |
|
|
||||||
| cilium.enabled | bool | `false` | |
|
| cilium.enabled | bool | `false` | |
|
||||||
| cilium.envoy.enabled | bool | `false` | |
|
| cilium.envoy.enabled | bool | `false` | |
|
||||||
| cilium.hubble.enabled | bool | `false` | |
|
| cilium.hubble.enabled | bool | `false` | |
|
||||||
@ -47,8 +45,7 @@ Kubernetes: `>= 1.30.0-0`
|
|||||||
| cilium.hubble.ui.enabled | bool | `false` | |
|
| cilium.hubble.ui.enabled | bool | `false` | |
|
||||||
| cilium.image.useDigest | bool | `false` | |
|
| cilium.image.useDigest | bool | `false` | |
|
||||||
| cilium.ipam.operator.clusterPoolIPv4PodCIDRList[0] | string | `"10.240.0.0/16"` | |
|
| cilium.ipam.operator.clusterPoolIPv4PodCIDRList[0] | string | `"10.240.0.0/16"` | |
|
||||||
| cilium.k8sServiceHost | string | `""` | |
|
| cilium.k8s.apiServerURLs | string | `""` | |
|
||||||
| cilium.k8sServicePort | int | `6443` | |
|
|
||||||
| cilium.kubeProxyReplacement | bool | `true` | |
|
| cilium.kubeProxyReplacement | bool | `true` | |
|
||||||
| cilium.l7Proxy | bool | `false` | |
|
| cilium.l7Proxy | bool | `false` | |
|
||||||
| cilium.operator.nodeSelector."node-role.kubernetes.io/control-plane" | string | `""` | |
|
| cilium.operator.nodeSelector."node-role.kubernetes.io/control-plane" | string | `""` | |
|
||||||
@ -59,13 +56,12 @@ Kubernetes: `>= 1.30.0-0`
|
|||||||
| cilium.operator.tolerations[0].key | string | `"node-role.kubernetes.io/control-plane"` | |
|
| cilium.operator.tolerations[0].key | string | `"node-role.kubernetes.io/control-plane"` | |
|
||||||
| cilium.operator.tolerations[1].effect | string | `"NoSchedule"` | |
|
| cilium.operator.tolerations[1].effect | string | `"NoSchedule"` | |
|
||||||
| cilium.operator.tolerations[1].key | string | `"node.cilium.io/agent-not-ready"` | |
|
| cilium.operator.tolerations[1].key | string | `"node.cilium.io/agent-not-ready"` | |
|
||||||
| cilium.operator.tolerations[2].effect | string | `"NoSchedule"` | |
|
|
||||||
| cilium.operator.tolerations[2].key | string | `"node.kubernetes.io/not-ready"` | |
|
|
||||||
| cilium.prometheus.enabled | bool | `false` | |
|
| cilium.prometheus.enabled | bool | `false` | |
|
||||||
| cilium.prometheus.port | int | `9091` | |
|
| cilium.prometheus.port | int | `9091` | |
|
||||||
| cilium.prometheus.serviceMonitor.enabled | bool | `false` | |
|
| cilium.prometheus.serviceMonitor.enabled | bool | `false` | |
|
||||||
| cilium.resources.requests.cpu | string | `"50m"` | |
|
| cilium.resources.limits.memory | string | `"1Gi"` | |
|
||||||
| cilium.resources.requests.memory | string | `"256Mi"` | |
|
| cilium.resources.requests.cpu | string | `"10m"` | |
|
||||||
|
| cilium.resources.requests.memory | string | `"160Mi"` | |
|
||||||
| cilium.routingMode | string | `"tunnel"` | |
|
| cilium.routingMode | string | `"tunnel"` | |
|
||||||
| cilium.sysctlfix.enabled | bool | `false` | |
|
| cilium.sysctlfix.enabled | bool | `false` | |
|
||||||
| cilium.tunnelProtocol | string | `"geneve"` | |
|
| cilium.tunnelProtocol | string | `"geneve"` | |
|
||||||
@ -113,6 +109,11 @@ Kubernetes: `>= 1.30.0-0`
|
|||||||
| haproxy.serviceMonitor.endpoints[0].path | string | `"/metrics"` | |
|
| haproxy.serviceMonitor.endpoints[0].path | string | `"/metrics"` | |
|
||||||
| haproxy.serviceMonitor.endpoints[0].port | string | `"prometheus"` | |
|
| haproxy.serviceMonitor.endpoints[0].port | string | `"prometheus"` | |
|
||||||
| haproxy.serviceMonitor.endpoints[0].scheme | string | `"http"` | |
|
| haproxy.serviceMonitor.endpoints[0].scheme | string | `"http"` | |
|
||||||
|
| metallb.controller.nodeSelector."node-role.kubernetes.io/control-plane" | string | `""` | |
|
||||||
|
| metallb.controller.tolerations[0].effect | string | `"NoSchedule"` | |
|
||||||
|
| metallb.controller.tolerations[0].key | string | `"node-role.kubernetes.io/control-plane"` | |
|
||||||
|
| metallb.enabled | bool | `false` | |
|
||||||
|
| metallb.ipAddressPools | list | `[]` | |
|
||||||
| multus.clusterNetwork | string | `"cilium"` | |
|
| multus.clusterNetwork | string | `"cilium"` | |
|
||||||
| multus.defaultNetworks | list | `[]` | |
|
| multus.defaultNetworks | list | `[]` | |
|
||||||
| multus.enabled | bool | `false` | |
|
| multus.enabled | bool | `false` | |
|
||||||
|
27
charts/kubezero-network/templates/metallb/config.yaml
Normal file
27
charts/kubezero-network/templates/metallb/config.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{{- if .Values.metallb.enabled }}
|
||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: L2Advertisement
|
||||||
|
metadata:
|
||||||
|
name: l2advertisement1
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
ipAddressPools:
|
||||||
|
{{- range $key, $val := .Values.metallb.ipAddressPools }}
|
||||||
|
{{- if eq $val.protocol "layer2" }}
|
||||||
|
- {{ $val.name }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
---
|
||||||
|
|
||||||
|
{{- range $key, $val := .Values.metallb.ipAddressPools }}
|
||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: IPAddressPool
|
||||||
|
metadata:
|
||||||
|
name: {{ $val.name }}
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
addresses:
|
||||||
|
{{- $val.addresses | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
---
|
||||||
|
{{- end }}
|
@ -1,3 +1,19 @@
|
|||||||
|
metallb:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
controller:
|
||||||
|
tolerations:
|
||||||
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
effect: NoSchedule
|
||||||
|
nodeSelector:
|
||||||
|
node-role.kubernetes.io/control-plane: ""
|
||||||
|
|
||||||
|
ipAddressPools: []
|
||||||
|
#- name: my-ip-space
|
||||||
|
# protocol: layer2
|
||||||
|
# addresses:
|
||||||
|
# - 192.168.42.0/24
|
||||||
|
|
||||||
multus:
|
multus:
|
||||||
enabled: false
|
enabled: false
|
||||||
image:
|
image:
|
||||||
@ -17,11 +33,11 @@ cilium:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 10m
|
||||||
memory: 256Mi
|
memory: 160Mi
|
||||||
# limits:
|
limits:
|
||||||
# memory: 1Gi
|
memory: 1Gi
|
||||||
# cpu: 4000m
|
# cpu: 4000m
|
||||||
|
|
||||||
cni:
|
cni:
|
||||||
binPath: "/usr/libexec/cni"
|
binPath: "/usr/libexec/cni"
|
||||||
@ -52,13 +68,6 @@ cilium:
|
|||||||
dnsProxy:
|
dnsProxy:
|
||||||
enableTransparentMode: true
|
enableTransparentMode: true
|
||||||
|
|
||||||
# For LB support via L2announcement or BGP - on-prem only
|
|
||||||
# l2announcements:
|
|
||||||
# enabled: true
|
|
||||||
# Not needed normally
|
|
||||||
# externalIPs:
|
|
||||||
# enabled: true
|
|
||||||
|
|
||||||
k8sServiceHost: ""
|
k8sServiceHost: ""
|
||||||
k8sServicePort: 6443
|
k8sServicePort: 6443
|
||||||
# k8s:
|
# k8s:
|
||||||
@ -71,9 +80,8 @@ cilium:
|
|||||||
enabled: false
|
enabled: false
|
||||||
hostRoot: "/sys/fs/cgroup"
|
hostRoot: "/sys/fs/cgroup"
|
||||||
|
|
||||||
bpf:
|
|
||||||
preallocateMaps: true
|
|
||||||
# we need biDirectional so use helm init-container
|
# we need biDirectional so use helm init-container
|
||||||
|
#bpf:
|
||||||
# autoMount:
|
# autoMount:
|
||||||
# enabled: false
|
# enabled: false
|
||||||
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: kubezero-policy
|
|
||||||
description: KubeZero umbrella chart for Kyverno
|
|
||||||
type: application
|
|
||||||
version: 0.1.0
|
|
||||||
appVersion: v1.14
|
|
||||||
home: https://kubezero.com
|
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
|
||||||
keywords:
|
|
||||||
- kubezero
|
|
||||||
- kyverno
|
|
||||||
maintainers:
|
|
||||||
- name: Stefan Reimer
|
|
||||||
email: stefan@zero-downtime.net
|
|
||||||
dependencies:
|
|
||||||
- name: kyverno
|
|
||||||
version: 3.4.2
|
|
||||||
repository: https://kyverno.github.io/kyverno/
|
|
||||||
condition: kyverno.enabled
|
|
||||||
kubeVersion: ">= 1.30.0-0"
|
|
@ -1,29 +0,0 @@
|
|||||||
# kubezero-policy
|
|
||||||
|
|
||||||
  
|
|
||||||
|
|
||||||
KubeZero umbrella chart for Kyverno
|
|
||||||
|
|
||||||
**Homepage:** <https://kubezero.com>
|
|
||||||
|
|
||||||
## Maintainers
|
|
||||||
|
|
||||||
| Name | Email | Url |
|
|
||||||
| ---- | ------ | --- |
|
|
||||||
| Stefan Reimer | <stefan@zero-downtime.net> | |
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
Kubernetes: `>= 1.30.0-0`
|
|
||||||
|
|
||||||
| Repository | Name | Version |
|
|
||||||
|------------|------|---------|
|
|
||||||
| https://kyverno.github.io/kyverno/ | kyverno | 3.4.2 |
|
|
||||||
|
|
||||||
# Kyverno
|
|
||||||
|
|
||||||
## Values
|
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
|
||||||
|-----|------|---------|-------------|
|
|
||||||
| kyverno.enabled | bool | `false` | |
|
|
@ -1,18 +0,0 @@
|
|||||||
{{ template "chart.header" . }}
|
|
||||||
{{ template "chart.deprecationWarning" . }}
|
|
||||||
|
|
||||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
|
||||||
|
|
||||||
{{ template "chart.description" . }}
|
|
||||||
|
|
||||||
{{ template "chart.homepageLine" . }}
|
|
||||||
|
|
||||||
{{ template "chart.maintainersSection" . }}
|
|
||||||
|
|
||||||
{{ template "chart.sourcesSection" . }}
|
|
||||||
|
|
||||||
{{ template "chart.requirementsSection" . }}
|
|
||||||
|
|
||||||
# Kyverno
|
|
||||||
|
|
||||||
{{ template "chart.valuesSection" . }}
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
. ../../scripts/lib-update.sh
|
|
||||||
|
|
||||||
login_ecr_public
|
|
||||||
update_helm
|
|
||||||
|
|
||||||
update_docs
|
|
@ -1,2 +0,0 @@
|
|||||||
kyverno:
|
|
||||||
enabled: false
|
|
@ -28,7 +28,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
skipTests: true
|
skipTests: true
|
||||||
valuesObject:
|
valuesObject:
|
||||||
{{- toYaml (merge (omit (index .Values $name) "enabled" "namespace" "retain" "targetRevision") (fromYaml (include (print $name "-values") $ ))) | nindent 8 }}
|
{{- include (print $name "-values") $ | nindent 8 }}
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
server: "https://kubernetes.default.svc"
|
server: "https://kubernetes.default.svc"
|
||||||
|
@ -67,7 +67,7 @@ gateway:
|
|||||||
gatewayProtocol: HTTPS
|
gatewayProtocol: HTTPS
|
||||||
tls:
|
tls:
|
||||||
mode: SIMPLE
|
mode: SIMPLE
|
||||||
{{- with index .Values "istio-ingress" "gateway" "service" "extraPorts" }}
|
{{- with index .Values "istio-ingress" "gateway" "service" "ports" }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
@ -93,6 +93,7 @@ certificates:
|
|||||||
{{- toYaml $cert.dnsNames | nindent 4 }}
|
{{- toYaml $cert.dnsNames | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
proxyProtocol: {{ default true (index .Values "istio-ingress" "proxyProtocol") }}
|
||||||
{{- with (index .Values "istio-ingress" "hardening") }}
|
{{- with (index .Values "istio-ingress" "hardening") }}
|
||||||
hardening:
|
hardening:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
@ -64,7 +64,7 @@ gateway:
|
|||||||
gatewayProtocol: HTTPS
|
gatewayProtocol: HTTPS
|
||||||
tls:
|
tls:
|
||||||
mode: SIMPLE
|
mode: SIMPLE
|
||||||
{{- with index .Values "istio-private-ingress" "gateway" "service" "extraPorts" }}
|
{{- with index .Values "istio-private-ingress" "gateway" "service" "ports" }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
@ -88,6 +88,7 @@ certificates:
|
|||||||
dnsNames:
|
dnsNames:
|
||||||
{{- toYaml $cert.dnsNames | nindent 4 }}
|
{{- toYaml $cert.dnsNames | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
proxyProtocol: {{ default true (index .Values "istio-private-ingress" "proxyProtocol") }}
|
||||||
{{- with (index .Values "istio-private-ingress" "hardening") }}
|
{{- with (index .Values "istio-private-ingress" "hardening") }}
|
||||||
hardening:
|
hardening:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
@ -1,22 +1,33 @@
|
|||||||
{{- define "network-values" }}
|
{{- define "network-values" }}
|
||||||
cilium:
|
multus:
|
||||||
k8sServiceHost: {{ .Values.global.apiServerUrl }}
|
enabled: false
|
||||||
|
clusterNetwork: "cilium"
|
||||||
|
|
||||||
# {{- if eq .Values.global.platform "aws" }}
|
# {{- if eq .Values.global.platform "aws" }}
|
||||||
# image:
|
# image:
|
||||||
# pullPolicy: Never
|
# pullPolicy: Never
|
||||||
# {{- end }}
|
# {{- end }}
|
||||||
|
|
||||||
|
cilium:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# {{- if eq .Values.global.platform "aws" }}
|
||||||
|
# image:
|
||||||
|
# pullPolicy: Never
|
||||||
|
# {{- end }}
|
||||||
|
k8sServiceHost: {{ .Values.global.apiServerUrl }}
|
||||||
# k8s:
|
# k8s:
|
||||||
# apiServerURLs: "https://{{ .Values.global.apiServerUrl }}"
|
# apiServerURLs: "https://{{ .Values.global.apiServerUrl }}"
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
name: {{ .Values.global.clusterName }}
|
name: {{ .Values.global.clusterName }}
|
||||||
{{- with ((.Values.network.cilium).cluster).id }}
|
{{- with .Values.network.cilium.cluster.id }}
|
||||||
|
id: {{ . }}
|
||||||
ipam:
|
ipam:
|
||||||
operator:
|
operator:
|
||||||
clusterPoolIPv4PodCIDRList:
|
clusterPoolIPv4PodCIDRList:
|
||||||
- 10.{{ . }}.0.0/16
|
- 10.{{ . }}.0.0/16
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
enabled: {{ .Values.metrics.enabled }}
|
enabled: {{ .Values.metrics.enabled }}
|
||||||
@ -32,6 +43,11 @@ cilium:
|
|||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: {{ .Values.metrics.enabled }}
|
enabled: {{ .Values.metrics.enabled }}
|
||||||
|
|
||||||
|
{{- with .Values.network.metallb }}
|
||||||
|
metallb:
|
||||||
|
{{- toYaml . | nindent 2 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- with .Values.network.haproxy }}
|
{{- with .Values.network.haproxy }}
|
||||||
haproxy:
|
haproxy:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
@ -35,7 +35,7 @@ network:
|
|||||||
retain: true
|
retain: true
|
||||||
targetRevision: 0.5.9
|
targetRevision: 0.5.9
|
||||||
cilium:
|
cilium:
|
||||||
enabled: true
|
cluster: {}
|
||||||
|
|
||||||
cert-manager:
|
cert-manager:
|
||||||
enabled: false
|
enabled: false
|
||||||
@ -61,13 +61,13 @@ storage:
|
|||||||
istio:
|
istio:
|
||||||
enabled: false
|
enabled: false
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
targetRevision: 0.24.6
|
targetRevision: 0.24.3
|
||||||
|
|
||||||
istio-ingress:
|
istio-ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
chart: kubezero-istio-gateway
|
chart: kubezero-istio-gateway
|
||||||
namespace: istio-ingress
|
namespace: istio-ingress
|
||||||
targetRevision: 0.24.6
|
targetRevision: 0.24.3
|
||||||
gateway:
|
gateway:
|
||||||
service: {}
|
service: {}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ istio-private-ingress:
|
|||||||
enabled: false
|
enabled: false
|
||||||
chart: kubezero-istio-gateway
|
chart: kubezero-istio-gateway
|
||||||
namespace: istio-ingress
|
namespace: istio-ingress
|
||||||
targetRevision: 0.24.6
|
targetRevision: 0.24.3
|
||||||
gateway:
|
gateway:
|
||||||
service: {}
|
service: {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user