Skip to content

Commit

Permalink
csm-replication: Removed init container usage (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshatdell authored and atye committed Sep 14, 2023
1 parent e1a596e commit 21d92c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
9 changes: 0 additions & 9 deletions charts/csm-replication/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ rules:
resources:
- customresourcedefinitions
verbs:
- create
- get
- list
- update
- watch
- apiGroups:
- apiextensions.k8s.io
Expand All @@ -29,7 +27,6 @@ rules:
verbs:
- get
- list
- patch
- watch
- apiGroups:
- coordination.k8s.io
Expand Down Expand Up @@ -267,12 +264,6 @@ spec:
{{- toYaml .Values.hostAliases | nindent 6 }}
{{- end }}
serviceAccountName: dell-replication-controller-sa
initContainers:
- name: init-rg-migration
imagePullPolicy: Always
image: {{ .Values.initImage }}
command:
- /upgrade/migrate_rg.sh
containers:
- args:
- prefix=replication.storage.dell.com
Expand Down
4 changes: 0 additions & 4 deletions charts/csm-replication/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ replicas: 1
# Allowed values: string
image: dellemc/dell-replication-controller:v1.5.0

# image: Defines controller's init container image. This shouldn't be changed
# Allowed values: string
initImage: dellemc/dell-replication-init:v1.0.1

# logLevel: Defines initial log level for controller. This can be changed in runtime
# Allowed values: "debug", "info", "warn", "error", "panic"
# Default value: "info"
Expand Down

0 comments on commit 21d92c8

Please sign in to comment.