Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Multiple Replicas for Redis deployment in Authorization #553

Merged
merged 20 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions api/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,26 @@ type ContainerTemplate struct {
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Authorization Proxy Server Redis storage class"
RedisStorageClass string `json:"storageclass,omitempty" yaml:"storageclass,omitempty"`

// VaultAddress is the address of the vault
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Authorization Vault Address"
VaultAddress string `json:"vaultAddress,omitempty" yaml:"vaultAddress,omitempty"`

// RedisName is the name of the redis statefulset
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Redis StatefulSet Name"
RedisName string `json:"redisName,omitempty" yaml:"redisName,omitempty"`

// RedisCommander is the name of the redis deployment
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Redis Deployment Name"
RedisCommander string `json:"redisCommander,omitempty" yaml:"redisCommander,omitempty"`

// RedisReplicas is the number of replicas for the redis deployment
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Redis Deployment Replicas"
RedisReplicas int `json:"redisReplicas,omitempty" yaml:"redisReplicas,omitempty"`

// Sentinel is the name of the sentinel statefulSet
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Sentinel StatefulSet Name"
Sentinel string `json:"sentinel,omitempty" yaml:"sentinel,omitempty"`

// ReplicaCount is the replica count for app mobility
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Application Mobility Replica Count"
ReplicaCount string `json:"replicaCount,omitempty" yaml:"replicaCount,omitempty"`
Expand Down
48 changes: 48 additions & 0 deletions config/crd/bases/storage.dell.com_apexconnectivityclients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,25 @@ spec:
redis:
description: Redis is the image tag for the Container
type: string
redisCommander:
description: RedisCommander is the name of the redis deployment
type: string
redisName:
description: RedisName is the name of the redis statefulset
type: string
redisReplicas:
description: RedisReplicas is the number of replicas for the
redis deployment
type: integer
replicaCount:
description: ReplicaCount is the replica count for app mobility
type: string
roleService:
description: RoleService is the image tag for the Container
type: string
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -355,6 +368,9 @@ spec:
description: UseSnapshot is to check whether volume snapshot
is enabled under velero component
type: boolean
vaultAddress:
description: VaultAddress is the address of the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -613,12 +629,25 @@ spec:
redis:
description: Redis is the image tag for the Container
type: string
redisCommander:
description: RedisCommander is the name of the redis deployment
type: string
redisName:
description: RedisName is the name of the redis statefulset
type: string
redisReplicas:
description: RedisReplicas is the number of replicas for
the redis deployment
type: integer
replicaCount:
description: ReplicaCount is the replica count for app mobility
type: string
roleService:
description: RoleService is the image tag for the Container
type: string
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -673,6 +702,9 @@ spec:
description: UseSnapshot is to check whether volume snapshot
is enabled under velero component
type: boolean
vaultAddress:
description: VaultAddress is the address of the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -916,12 +948,25 @@ spec:
redis:
description: Redis is the image tag for the Container
type: string
redisCommander:
description: RedisCommander is the name of the redis deployment
type: string
redisName:
description: RedisName is the name of the redis statefulset
type: string
redisReplicas:
description: RedisReplicas is the number of replicas for
the redis deployment
type: integer
replicaCount:
description: ReplicaCount is the replica count for app mobility
type: string
roleService:
description: RoleService is the image tag for the Container
type: string
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -976,6 +1021,9 @@ spec:
description: UseSnapshot is to check whether volume snapshot
is enabled under velero component
type: boolean
vaultAddress:
description: VaultAddress is the address of the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down
Loading
Loading