Description
Environment
relates to
Activity

George KechagiasMarch 11, 2025 at 7:06 PM

George KechagiasFebruary 17, 2025 at 2:12 PM
focus only on cluster type

inel.pandzicAugust 20, 2024 at 4:03 PM
PR https://github.com/percona/percona-server-mysql-operator/pull/308 was updated with all the rules we need and indeed with Kubernetes v1.29
validation works well.
The issue we faced is that env tests don’t pass with certain rules, there is an unclear issue as to why certain rules are not evaluated properly while running in envtest environment, but on a cluster like GKE work properly.
More time is needed to find what is causing this and how to fix it. We need to have all of these rules passing in our integration tests.

inel.pandzicMarch 23, 2023 at 9:41 AM
We have added CRD validation rules to properly tackle this issue and the PR is ready (although might be updated when we revisit it) - https://github.com/percona/percona-server-mysql-operator/pull/308
The issue with validation rules is that they are only supported from k8s 1.25 and we simply can't restrict PS operator for only this version, we need to have it running on couple of older versions.
Details
Assignee
Eleonora ZinchenkoReporter
natalia.marukovichNeeds QA
YesSprint
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Needs QA
Sprint
Fix versions
Affects versions
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist
Open Smart Checklist
Smart Checklist

we have the following validation rules introduced:
https://private-user-images.githubusercontent.com/12970444/420414877-ae375d02-c894-4a6a-904b-fb2fe8d9fb28.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDE3MjAyNzYsIm5iZiI6MTc0MTcxOTk3NiwicGF0aCI6Ii8xMjk3MDQ0NC80MjA0MTQ4NzctYWUzNzVkMDItYzg5NC00YTZhLTkwNGItZmIyZmU4ZDlmYjI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAzMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMzExVDE5MDYxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM4ZTdlZWQzNjZmZGI1NjE4NzBlNjA5ZWZkNDExY2I2MGI1ZGJhYmFjMGZlNmFmMDgyMzEyNWFhNWE2MzllMzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.o3a1vR4Kgs4KJOK842YFfE9eA8E14MoLU9K1JBE5HAo