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

Adding Vault Role for Authorization #560

Merged
merged 3 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
12 changes: 12 additions & 0 deletions api/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,18 @@ type ContainerTemplate struct {
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Authorization Vault Address"
VaultAddress string `json:"vaultAddress,omitempty" yaml:"vaultAddress,omitempty"`

// VaultRole is the role for the vault
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Authorization Vault Role"
VaultRole string `json:"vaultRole,omitempty" yaml:"vaultRole,omitempty"`

// skipCertificateValidation is the flag to skip certificate validation
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Authorization Skip Certificate Validation"
SkipCertificateValidation bool `json:"skipCertificateValidation,omitempty" yaml:"skipCertificateValidation,omitempty"`

// kvEnginePath is the Authorization vault secret path
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Authorization KV Engine Path"
KvEnginePath string `json:"kvEnginePath,omitempty" yaml:"kvEnginePath,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"`
Expand Down
33 changes: 33 additions & 0 deletions config/crd/bases/storage.dell.com_apexconnectivityclients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ spec:
description: ImagePullPolicy is the image pull policy for
the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for app-mobility
type: string
Expand Down Expand Up @@ -314,6 +318,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to skip
certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -371,6 +379,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -572,6 +583,10 @@ spec:
description: ImagePullPolicy is the image pull policy for
the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for
app-mobility
Expand Down Expand Up @@ -648,6 +663,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to skip
certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -705,6 +724,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -891,6 +913,10 @@ spec:
description: ImagePullPolicy is the image pull policy for
the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for
app-mobility
Expand Down Expand Up @@ -967,6 +993,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to skip
certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -1024,6 +1054,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down
77 changes: 77 additions & 0 deletions config/crd/bases/storage.dell.com_containerstoragemodules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ spec:
description: ImagePullPolicy is the image pull policy for
the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for app-mobility
type: string
Expand Down Expand Up @@ -318,6 +322,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to skip
certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -375,6 +383,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -562,6 +573,10 @@ spec:
description: ImagePullPolicy is the image pull policy for
the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for app-mobility
type: string
Expand Down Expand Up @@ -637,6 +652,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to skip
certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -694,6 +713,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -903,6 +925,10 @@ spec:
description: ImagePullPolicy is the image pull policy for
the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for
app-mobility
Expand Down Expand Up @@ -979,6 +1005,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to skip
certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -1036,6 +1066,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -1219,6 +1252,10 @@ spec:
description: ImagePullPolicy is the image pull policy for
the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for app-mobility
type: string
Expand Down Expand Up @@ -1294,6 +1331,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to skip
certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -1351,6 +1392,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -1541,6 +1585,10 @@ spec:
description: ImagePullPolicy is the image pull policy for
the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for
app-mobility
Expand Down Expand Up @@ -1617,6 +1665,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to skip
certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -1674,6 +1726,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -1888,6 +1943,10 @@ spec:
description: ImagePullPolicy is the image pull policy
for the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for
app-mobility
Expand Down Expand Up @@ -1966,6 +2025,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to
skip certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -2023,6 +2086,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down Expand Up @@ -2222,6 +2288,10 @@ spec:
description: ImagePullPolicy is the image pull policy
for the image
type: string
kvEnginePath:
description: kvEnginePath is the Authorization vault secret
path
type: string
licenseName:
description: LicenseName is the name of the license for
app-mobility
Expand Down Expand Up @@ -2300,6 +2370,10 @@ spec:
sentinel:
description: Sentinel is the name of the sentinel statefulSet
type: string
skipCertificateValidation:
description: skipCertificateValidation is the flag to
skip certificate validation
type: boolean
storageService:
description: StorageService is the image tag for the Container
type: string
Expand Down Expand Up @@ -2357,6 +2431,9 @@ spec:
vaultAddress:
description: VaultAddress is the address of the vault
type: string
vaultRole:
description: VaultRole is the role for the vault
type: string
veleroNamespace:
description: VeleroNamespace is the namespace that Velero
is installed in
Expand Down
Loading
Loading