Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Add pvc mutator config - #318

Merged
croomes merged 1 commit into
masterfrom
pvc-mutator
Apr 19, 2021
Merged

croomes merged 1 commit into
masterfrom
pvc-mutator

Conversation

@croomes

@croomes croomes commented Apr 14, 2021

Copy link
Copy Markdown
Contributor

Adds the PVC mutator configuration.

@croomes
croomes requested review from darkowlzz and mhmxs April 14, 2021 18:03
Comment thread pkg/storageos/webhook.go Resolved
Comment thread pkg/storageos/webhook.go Resolved
Comment thread pkg/storageos/webhook.go
Scope: &scopeAll,
},
}),
s.mutatingWebhookConfiguration(webhookPVCMutatorName, mutatePVCPath, admissionv1.Ignore, []admissionv1.RuleWithOperations{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Didn't we decide to make the failure policy to fail for PVC mutating webhooks? storageos/api-manager#42 (comment)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, I just wanted to enable it separately after doing more testing: #318 (comment)

@croomes
croomes merged commit 142195a into master Apr 19, 2021
@croomes
croomes deleted the pvc-mutator branch April 19, 2021 10:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants