-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add backup and restore related resources in helm-chart
- Loading branch information
1 parent
ea882fa
commit bc8e5f6
Showing
13 changed files
with
315 additions
and
5 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
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
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
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
20 changes: 20 additions & 0 deletions
20
...-kubernetes-operator/templates/aerospike-operator-aerospikebackup-editor-clusterrole.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 @@ | ||
{{- if .Values.rbac.create }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: aerospike-operator-aerospikebackup-editor-role | ||
labels: | ||
app: {{ template "aerospike-kubernetes-operator.fullname" . }} | ||
chart: {{ .Chart.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikebackups | ||
verbs: | ||
- create | ||
- delete | ||
- patch | ||
- update | ||
{{- end }} |
25 changes: 25 additions & 0 deletions
25
...-kubernetes-operator/templates/aerospike-operator-aerospikebackup-viewer-clusterrole.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,25 @@ | ||
{{- if .Values.rbac.create }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: aerospike-operator-aerospikebackup-viewer-role | ||
labels: | ||
app: {{ template "aerospike-kubernetes-operator.fullname" . }} | ||
chart: {{ .Chart.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikebackups | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikebackups/status | ||
verbs: | ||
- get | ||
{{- end }} |
20 changes: 20 additions & 0 deletions
20
...etes-operator/templates/aerospike-operator-aerospikebackupservice-editor-clusterrole.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 @@ | ||
{{- if .Values.rbac.create }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: aerospike-operator-aerospikebackupservice-editor-role | ||
labels: | ||
app: {{ template "aerospike-kubernetes-operator.fullname" . }} | ||
chart: {{ .Chart.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikebackupservices | ||
verbs: | ||
- create | ||
- delete | ||
- patch | ||
- update | ||
{{- end }} |
25 changes: 25 additions & 0 deletions
25
...etes-operator/templates/aerospike-operator-aerospikebackupservice-viewer-clusterrole.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,25 @@ | ||
{{- if .Values.rbac.create }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: aerospike-operator-aerospikebackupservice-viewer-role | ||
labels: | ||
app: {{ template "aerospike-kubernetes-operator.fullname" . }} | ||
chart: {{ .Chart.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikebackupservices | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikebackupservices/status | ||
verbs: | ||
- get | ||
{{- end }} |
20 changes: 20 additions & 0 deletions
20
...kubernetes-operator/templates/aerospike-operator-aerospikerestore-editor-clusterrole.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 @@ | ||
{{- if .Values.rbac.create }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: aerospike-operator-aerospikerestore-editor-role | ||
labels: | ||
app: {{ template "aerospike-kubernetes-operator.fullname" . }} | ||
chart: {{ .Chart.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikerestores | ||
verbs: | ||
- create | ||
- delete | ||
- patch | ||
- update | ||
{{- end }} |
25 changes: 25 additions & 0 deletions
25
...kubernetes-operator/templates/aerospike-operator-aerospikerestore-viewer-clusterrole.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,25 @@ | ||
{{- if .Values.rbac.create }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: aerospike-operator-aerospikerestore-viewer-role | ||
labels: | ||
app: {{ template "aerospike-kubernetes-operator.fullname" . }} | ||
chart: {{ .Chart.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikerestores | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- asdb.aerospike.com | ||
resources: | ||
- aerospikerestores/status | ||
verbs: | ||
- get | ||
{{- end }} |
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
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
Oops, something went wrong.