Skip to content

Commit

Permalink
Update zookeeper editor (#699)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <[email protected]>
  • Loading branch information
ArnobKumarSaha authored Dec 20, 2024
1 parent e823e74 commit fe224e1
Show file tree
Hide file tree
Showing 10 changed files with 67,919 additions and 12 deletions.
11 changes: 10 additions & 1 deletion charts/kubedbcom-zookeeper-editor/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
annotations:
meta.x-helm.dev/editor: '{"group":"kubedb.com","version":"v1alpha2","resource":"zookeepers"}'
meta.x-helm.dev/form-keys: monitoringCoreosComPrometheusRule
meta.x-helm.dev/resource-keys: autoscalingKubedbComZooKeeperAutoscaler,catalogAppscodeComZooKeeperBinding,kubedbComZooKeeper
meta.x-helm.dev/resource-keys: autoscalingKubedbComZooKeeperAutoscaler,catalogAppscodeComZooKeeperBinding,coreKubestashComBackupBlueprint,coreKubestashComBackupConfiguration,coreKubestashComRestoreSession,kubedbComZooKeeper
meta.x-helm.dev/resources: |
- group: autoscaling.kubedb.com
kind: ZooKeeperAutoscaler
version: v1alpha1
- group: catalog.appscode.com
kind: ZooKeeperBinding
version: v1alpha1
- group: core.kubestash.com
kind: BackupBlueprint
version: v1alpha1
- group: core.kubestash.com
kind: BackupConfiguration
version: v1alpha1
- group: core.kubestash.com
kind: RestoreSession
version: v1alpha1
- group: kubedb.com
kind: ZooKeeper
version: v1alpha2
Expand Down
12,116 changes: 12,116 additions & 0 deletions charts/kubedbcom-zookeeper-editor/crds/core.kubestash.com_backupblueprints.yaml

Large diffs are not rendered by default.

12,074 changes: 12,074 additions & 0 deletions charts/kubedbcom-zookeeper-editor/crds/core.kubestash.com_backupconfigurations.yaml

Large diffs are not rendered by default.

9,686 changes: 9,686 additions & 0 deletions charts/kubedbcom-zookeeper-editor/crds/core.kubestash.com_restoresessions.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- with .Values.resources }}
{{- with .coreKubestashComBackupBlueprint }}
{{- . | toYaml }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- with .Values.resources }}
{{- with .coreKubestashComBackupConfiguration }}
{{- . | toYaml }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- with .Values.resources }}
{{- with .coreKubestashComRestoreSession }}
{{- . | toYaml }}
{{- end }}
{{- end }}
33,843 changes: 33,843 additions & 0 deletions charts/kubedbcom-zookeeper-editor/values.openapiv3_schema.yaml

Large diffs are not rendered by default.

175 changes: 175 additions & 0 deletions charts/kubedbcom-zookeeper-editor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,181 @@ resources:
sourceRef:
name: zookeeper
namespace: demo
coreKubestashComBackupBlueprint: # +doc-gen:break
apiVersion: core.kubestash.com/v1alpha1
kind: BackupBlueprint
metadata:
name: zookeeper
namespace: demo
spec:
backupConfigurationTemplate:
backends:
- name: zookeeper-backend
retentionPolicy:
name: zookeeper-retention-policy
namespace: demo
storageRef:
name: zookeeper-storage
namespace: demo
sessions:
- addon:
jobTemplate:
spec:
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsGroup: 0
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
nodeSelector:
kubernetes.io/os: linux
name: zookeeper-addon
tasks:
- name: logical-backup
name: zookeeper-frequent-backup
repositories:
- backend: zookeeper-backend
directory: /mongo-repo
encryptionSecret:
name: zookeeper-encryption-secret
namespace: demo
name: zookeeper-repo
scheduler:
failedJobsHistoryLimit: 4
jobTemplate:
backoffLimit: 2
template:
spec:
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsGroup: 0
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
nodeSelector:
kubernetes.io/os: linux
schedule: 0 */2 * * *
successfulJobsHistoryLimit: 2
sessionHistoryLimit: 3
usagePolicy:
allowedNamespaces:
from: Same
coreKubestashComBackupConfiguration: # +doc-gen:break
apiVersion: core.kubestash.com/v1alpha1
kind: BackupConfiguration
metadata:
name: zookeeper
namespace: demo
spec:
backends:
- name: zookeeper-backend
retentionPolicy:
name: zookeeper-retention-policy
namespace: demo
storageRef:
name: zookeeper-storage
namespace: demo
sessions:
- addon:
jobTemplate:
spec:
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsGroup: 0
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
nodeSelector:
kubernetes.io/os: linux
name: zookeeper-addon
tasks:
- name: logical-backup
name: zookeeper-frequent-backup
repositories:
- backend: zookeeper-backend
directory: /mongo-repo
encryptionSecret:
name: zookeeper-encryption-secret
namespace: demo
name: zookeeper-repo
scheduler:
failedJobsHistoryLimit: 4
jobTemplate:
backoffLimit: 2
template:
spec:
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsGroup: 0
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
nodeSelector:
kubernetes.io/os: linux
schedule: 0 */2 * * *
successfulJobsHistoryLimit: 2
sessionHistoryLimit: 3
target:
apiGroup: kubedb.com
kind: ZooKeeper
name: zookeeper
namespace: demo
coreKubestashComRestoreSession: # +doc-gen:break
apiVersion: core.kubestash.com/v1alpha1
kind: RestoreSession
metadata:
name: zookeeper
namespace: demo
spec:
addon:
containerRuntimeSettings:
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsGroup: 0
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
jobTemplate:
spec:
nodeSelector:
kubernetes.io/os: linux
securityContext:
runAsGroup: 0
runAsUser: 999
name: zookeeper-addon
tasks:
- name: logical-backup-restore
dataSource:
encryptionSecret:
name: zookeeper-encryption-secret
namespace: demo
repository: zookeeper-repo
snapshot: latest
target:
apiGroup: kubedb.com
kind: ZooKeeper
name: zookeeper
namespace: demo
kubedbComZooKeeper: # +doc-gen:break
apiVersion: kubedb.com/v1alpha2
kind: ZooKeeper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2517,10 +2517,7 @@ properties:
tag:
type: string
required:
- registry
- repository
- skip
- tag
type: object
cloudConfig:
type: string
Expand All @@ -2538,10 +2535,6 @@ properties:
type: string
tag:
type: string
required:
- registry
- repository
- tag
type: object
imagePullPolicy:
type: string
Expand Down Expand Up @@ -2673,10 +2666,6 @@ properties:
type: object
tag:
type: string
required:
- registry
- repository
- tag
type: object
persistence:
properties:
Expand Down

0 comments on commit fe224e1

Please sign in to comment.