Skip to content

Restrict PVC and secret creation in same namespace during provisioning#306

Open
Prachi030510 wants to merge 12 commits intomainfrom
prachi
Open

Restrict PVC and secret creation in same namespace during provisioning#306
Prachi030510 wants to merge 12 commits intomainfrom
prachi

Conversation

@Prachi030510
Copy link
Copy Markdown
Collaborator

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • I have made sure existing UTs are not impacted
  • I have executed all necessary linter and made sure internal pipeline/travis is not broken

Copy link
Copy Markdown
Member

@mssachan mssachan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added minor comment. PTAL

Comment thread pkg/driver/controllerserver.go Outdated
@contsto
Copy link
Copy Markdown
Collaborator

contsto commented Apr 9, 2026

👍 Coverage remained same at 84.86%

@Prachi030510 Prachi030510 requested a review from mssachan April 9, 2026 09:21
Comment thread pkg/driver/controllerserver.go
Copy link
Copy Markdown
Member

@mssachan mssachan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good. Added minor comment. PTAL

Comment thread pkg/driver/controllerserver_test.go Outdated
@contsto
Copy link
Copy Markdown
Collaborator

contsto commented Apr 10, 2026

👍 Coverage remained same at 84.86%

@Prachi030510 Prachi030510 requested a review from mssachan April 10, 2026 08:49
Copy link
Copy Markdown
Member

@mssachan mssachan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added minor comment. PTAL

secret, err := cs.Stats.GetSecret(customSecretName, secretNamespace)
if err != nil {
return nil, status.Error(codes.InvalidArgument, fmt.Sprintf("Secret resource not found %v", err))
return nil, status.Error(codes.InvalidArgument, fmt.Sprintf("error getting Secret: %v", err))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change, log message will look like as given below:
error getting Secret: error getting Secret: secrets "test-cos-secret1" not found
Please verify and make the changes accordingly.

@contsto
Copy link
Copy Markdown
Collaborator

contsto commented Apr 13, 2026

👍 Coverage remained same at 84.86%

@Prachi030510 Prachi030510 requested a review from mssachan April 13, 2026 07:58
@contsto
Copy link
Copy Markdown
Collaborator

contsto commented Apr 13, 2026

👍 Coverage remained same at 84.86%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants