Skip to content

Commit

Permalink
Update deploy files for job based framework (#181)
Browse files Browse the repository at this point in the history
* Update backup location yamls

---------

Signed-off-by: sushanthakumar <[email protected]>
  • Loading branch information
sushanthakumar authored Jun 13, 2023
1 parent 312eaae commit e2dd9a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
7 changes: 3 additions & 4 deletions deploy/yamls/controllers/backup_restore_controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ spec:
spec:
serviceAccountName: kahu
containers:
- image: sodacdm/kahu-controller-manager:v1.0.0
- image: sodacdm/kahu-controller-manager:v1.0.1
imagePullPolicy: IfNotPresent
name: backup
command: ["/usr/local/bin/controller-manager"]
#args:
#example of adding custom resourceList for backup. resources should be separated by comma
#- --supportedResources=Deployment,Pod,ReplicaSet
args:
- --metaServiceImage=sodacdm/kahu-meta-service:v1.0.1
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
12 changes: 1 addition & 11 deletions examples/backuplocation-provider-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,7 @@ spec:
app: nfs-provider
spec:
containers:
- image: sodacdm/kahu-nfs-provider:v1.0.0
- image: sodacdm/kahu-nfs-provider:v1.0.1
imagePullPolicy: IfNotPresent
name: nfs-driver
command: ["/usr/local/bin/nfs-provider"]
args:
- "-d"
- "/data"
volumeMounts:
- name: data
mountPath: "/data"
volumes:
- name: data
emptyDir: {}

7 changes: 5 additions & 2 deletions examples/backuplocation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ metadata:
name: nfs
spec:
providerName: nfs-provider
config: {key: "key", password: "password"}

location:
path: "/data"
sourceRef:
kind: PersistentVolumeClaim
name: nfs

0 comments on commit e2dd9a0

Please sign in to comment.