Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit 0af83d5

Browse files
authored
Merge pull request #39 from krishchow/master
updates mintedsecret in bucketaccess to secret reference
2 parents 83cd0d5 + 933aa24 commit 0af83d5

File tree

4 files changed

+21
-7
lines changed

4 files changed

+21
-7
lines changed

Diff for: apis/objectstorage.k8s.io/v1alpha1/openapi_generated.go

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: apis/objectstorage.k8s.io/v1alpha1/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ type BucketAccessStatus struct {
250250
Message string `json:"message,omitempty"`
251251

252252
// +optional
253-
MintedSecretName string `json:"mintedSecretName,omitempty"`
253+
MintedSecret *corev1.SecretReference `json:"mintedSecret,omitempty"`
254254

255255
// +optional
256256
AccountID string `json:"accountID,omitempty"`

Diff for: apis/objectstorage.k8s.io/v1alpha1/zz_generated.deepcopy.go

+6-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: crds/objectstorage.k8s.io_bucketaccesses.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,16 @@ spec:
9797
type: string
9898
message:
9999
type: string
100-
mintedSecretName:
101-
type: string
100+
mintedSecret:
101+
description: SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
102+
properties:
103+
name:
104+
description: Name is unique within a namespace to reference a secret resource.
105+
type: string
106+
namespace:
107+
description: Namespace defines the space within which the secret name must be unique.
108+
type: string
109+
type: object
102110
type: object
103111
type: object
104112
served: true

0 commit comments

Comments
 (0)