-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Shoot
load balancer configuration and metallb
as first provid…
…er (#46)
- Loading branch information
Showing
37 changed files
with
2,316 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
charts/internal/shoot-system-components/charts/metallb/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
description: Helm chart for metallb | ||
name: metallb | ||
version: 0.1.0 |
35 changes: 35 additions & 0 deletions
35
...rnal/shoot-system-components/charts/metallb/templates/clusterrole-metallb-controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: metallb:controller | ||
labels: | ||
app.kubernetes.io/name: metallb | ||
app.kubernetes.io/instance: metallb | ||
rules: | ||
- apiGroups: [""] | ||
resources: ["services", "namespaces"] | ||
verbs: ["get", "list", "watch"] | ||
- apiGroups: [""] | ||
resources: ["nodes"] | ||
verbs: ["list"] | ||
- apiGroups: [""] | ||
resources: ["services/status"] | ||
verbs: ["update"] | ||
- apiGroups: [""] | ||
resources: ["events"] | ||
verbs: ["create", "patch"] | ||
- apiGroups: ["admissionregistration.k8s.io"] | ||
resources: ["validatingwebhookconfigurations", "mutatingwebhookconfigurations"] | ||
resourceNames: ["metallb-webhook-configuration"] | ||
verbs: ["create", "delete", "get", "list", "patch", "update", "watch"] | ||
- apiGroups: ["admissionregistration.k8s.io"] | ||
resources: ["validatingwebhookconfigurations", "mutatingwebhookconfigurations"] | ||
verbs: ["list", "watch"] | ||
- apiGroups: ["apiextensions.k8s.io"] | ||
resources: ["customresourcedefinitions"] | ||
resourceNames: ["bfdprofiles.metallb.io","bgpadvertisements.metallb.io", | ||
"bgppeers.metallb.io","ipaddresspools.metallb.io","l2advertisements.metallb.io","communities.metallb.io"] | ||
verbs: ["create", "delete", "get", "list", "patch", "update", "watch"] | ||
- apiGroups: ["apiextensions.k8s.io"] | ||
resources: ["customresourcedefinitions"] | ||
verbs: ["list", "watch"] |
20 changes: 20 additions & 0 deletions
20
...nternal/shoot-system-components/charts/metallb/templates/clusterrole-metallb-speaker.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: metallb:speaker | ||
labels: | ||
app.kubernetes.io/name: metallb | ||
app.kubernetes.io/instance: metallb | ||
rules: | ||
- apiGroups: [""] | ||
resources: ["services", "endpoints", "nodes", "namespaces"] | ||
verbs: ["get", "list", "watch"] | ||
- apiGroups: ["discovery.k8s.io"] | ||
resources: ["endpointslices"] | ||
verbs: ["get", "list", "watch"] | ||
- apiGroups: [""] | ||
resources: ["events"] | ||
verbs: ["create", "patch"] | ||
- apiGroups: ["metallb.io"] | ||
resources: ["servicel2statuses","servicel2statuses/status"] | ||
verbs: ["*"] |
15 changes: 15 additions & 0 deletions
15
...oot-system-components/charts/metallb/templates/clusterrolebinding-metallb-controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: metallb:controller | ||
labels: | ||
app.kubernetes.io/name: metallb | ||
app.kubernetes.io/instance: metallb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: metallb-controller | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: metallb:controller |
15 changes: 15 additions & 0 deletions
15
.../shoot-system-components/charts/metallb/templates/clusterrolebinding-metallb-speaker.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: metallb:speaker | ||
labels: | ||
app.kubernetes.io/name: metallb | ||
app.kubernetes.io/instance: metallb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: metallb-speaker | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: metallb:speaker |
24 changes: 24 additions & 0 deletions
24
...nternal/shoot-system-components/charts/metallb/templates/configmap-metallb-excludel2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: metallb-excludel2 | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: metallb | ||
app.kubernetes.io/instance: metallb | ||
data: | ||
excludel2.yaml: | | ||
announcedInterfacesToExclude: | ||
- ^docker.* | ||
- ^cbr.* | ||
- ^dummy.* | ||
- ^virbr.* | ||
- ^lxcbr.* | ||
- ^veth.* | ||
- ^lo$ | ||
- ^cali.* | ||
- ^tunl.* | ||
- ^flannel.* | ||
- ^kube-ipvs.* | ||
- ^cni.* | ||
- ^nodelocaldns.* |
Oops, something went wrong.