chore(kustomize): support to datastore migration w/ the same driver

This commit is contained in:
Dario Tranchitella
2022-12-02 18:54:33 +01:00
parent 9e899379f4
commit 3850ad9752
4 changed files with 40 additions and 0 deletions

View File

@@ -2458,6 +2458,7 @@ spec:
enum:
- Provisioning
- Upgrading
- Migrating
- Ready
- NotReady
type: string

View File

@@ -1868,6 +1868,7 @@ spec:
enum:
- Provisioning
- Upgrading
- Migrating
- Ready
- NotReady
type: string
@@ -1986,6 +1987,16 @@ rules:
- patch
- update
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- delete
- get
- list
- watch
- apiGroups:
- ""
resources:
@@ -2227,6 +2238,15 @@ spec:
- --leader-elect
command:
- /kamaji
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: SERVICE_ACCOUNT
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
image: clastix/kamaji:v0.1.1
imagePullPolicy: Always
livenessProbe:

View File

@@ -30,6 +30,15 @@ spec:
args:
- manager
- --leader-elect
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: SERVICE_ACCOUNT
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
image: controller:latest
imagePullPolicy: Always
name: manager

View File

@@ -17,6 +17,16 @@ rules:
- patch
- update
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- delete
- get
- list
- watch
- apiGroups:
- ""
resources: