Compare commits

..
Author SHA1 Message Date
Automated ReleaseandSubmariner Bot 669d864337 Update Submariner dependencies to v0.20.0-m3
Signed-off-by: Automated Release <release@submariner.io>
2025-01-07 13:49:10 +02:00
Automated ReleaseandSubmariner Bot 11da695ea9 Update Submariner dependencies to v0.20.0-m2
Signed-off-by: Automated Release <release@submariner.io>
2025-01-02 20:33:15 +02:00
Tom Pantelis 0e2e31ae73 Enable leader election in the operator
The operator no longer runs leader-for-life election so enable
leader-with-lease via the CLI arg in the pod spec.

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-12-13 01:08:54 -05:00
3 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ endif
export DEPLOYTOOL = helm export DEPLOYTOOL = helm
GH_URL=https://submariner-io.github.io/submariner-charts/charts GH_URL=https://submariner-io.github.io/submariner-charts/charts
CHARTS_DIR=charts CHARTS_DIR=charts
CHARTS_VERSION=0.20.0-m1 CHARTS_VERSION=0.20.0-m3
HELM_DOCS_VERSION=0.15.0 HELM_DOCS_VERSION=0.15.0
REPO_URL=$(shell git config remote.origin.url) REPO_URL=$(shell git config remote.origin.url)
@@ -27,8 +27,8 @@ spec:
name: {{ template "submariner.fullname" . }} name: {{ template "submariner.fullname" . }}
spec: spec:
containers: containers:
- command: - args:
- submariner-operator - --leader-elect
env: env:
- name: WATCH_NAMESPACE - name: WATCH_NAMESPACE
valueFrom: valueFrom:
+11
View File
@@ -87,6 +87,17 @@ rules:
- servicediscoveries/finalizers - servicediscoveries/finalizers
verbs: verbs:
- update - update
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- delete
--- ---
kind: RoleBinding kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1