Skip to content

Commit

Permalink
Set PSP in KafkaVersion Spec to optional (#1005)
Browse files Browse the repository at this point in the history
* Make .spec.podSecurityPolicies in kafkaVersion API optional

Signed-off-by: raihankhan <[email protected]>

* Re-generate

Signed-off-by: raihankhan <[email protected]>

Signed-off-by: raihankhan <[email protected]>
  • Loading branch information
raihankhan authored Dec 12, 2022
1 parent 69bc9de commit 2a1d4b0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions apis/catalog/v1alpha1/kafka_version_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type KafkaVersionSpec struct {
// +optional
Deprecated bool `json:"deprecated,omitempty"`
// PSP names
// +optional
PodSecurityPolicies KafkaVersionPodSecurityPolicy `json:"podSecurityPolicies"`
// Stash defines backup and restore task definitions.
// +optional
Expand Down
2 changes: 1 addition & 1 deletion apis/catalog/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crds/catalog.kubedb.com_kafkaversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ spec:
type: string
required:
- db
- podSecurityPolicies
- version
type: object
type: object
Expand Down

0 comments on commit 2a1d4b0

Please sign in to comment.