Skip to content

Commit 1c66136

Browse files
committed
Add secret scopes
1 parent f888ad1 commit 1c66136

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

operator/api/vectorized/v1alpha1/console_enterprise_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ type SecretStore struct {
179179
GCPSecretManager *SecretManagerGCP `json:"gcpSecretManager,omitempty"`
180180
AWSSecretManager *SecretManagerAWS `json:"awsSecretManager,omitempty"`
181181
KafkaConnect *SecretStoreKafkaConnect `json:"kafkaConnect,omitempty"`
182+
// Scopes is a list of supported secret scopes
183+
Scopes []string `json:"scopes,omitempty"`
182184
}
183185

184186
// SecretManagerGCP is the configuration object for using Google Cloud's secret manager.

operator/config/crd/bases/redpanda.vectorized.io_consoles.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,11 @@ spec:
911911
Changing this prefix won't let you access secrets created under
912912
a different prefix.
913913
type: string
914+
scopes:
915+
description: Scopes is a list of supported secret scopes
916+
items:
917+
type: string
918+
type: array
914919
required:
915920
- enabled
916921
- secretNamePrefix

0 commit comments

Comments
 (0)