Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align finalizer with Custom Resource Definition doc #519

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

stuggi
Copy link
Contributor

@stuggi stuggi commented Jun 18, 2024

Per Custom Resource Definition docs [1], custom finalizer names are expected to be in format "consist of a domain name, a forward slash and the name of the finalizer" (e.g. foo.bar/name).

This aligns the finalizer provided by the helper to follow this definition and uses openstack.org/<gkv.kind> (all lower case) as the finalizer.

[1] https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#finalizers:~:text=Identifiers%20of%20custom%20finalizers%20consist%20of%20a%20domain%20name%2C%20a%20forward%20slash%20and%20the%20name%20of%20the%20finalizer

Per Custom Resource Definition docs [1], custom finalizer names
are expected to be in format "consist of a domain name, a forward
slash and the name of the finalizer" (e.g. foo.bar/name).

This aligns the finalizer provided by the helper to follow this
definition and uses openstack.org/<gkv.kind> (all lower case) as the
finalizer.

[1] https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#finalizers:~:text=Identifiers%20of%20custom%20finalizers%20consist%20of%20a%20domain%20name%2C%20a%20forward%20slash%20and%20the%20name%20of%20the%20finalizer

Signed-off-by: Martin Schuppert <[email protected]>
Copy link
Contributor

@mrkisaolamb mrkisaolamb left a comment

Choose a reason for hiding this comment

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

lgtm

@stuggi stuggi requested review from olliewalsh and abays June 18, 2024 14:22
stuggi added a commit to stuggi/mariadb-operator that referenced this pull request Jun 18, 2024
Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm

@stuggi stuggi merged commit ec81334 into openstack-k8s-operators:main Jun 18, 2024
2 checks passed
stuggi added a commit to stuggi/mariadb-operator that referenced this pull request Jun 18, 2024
stuggi added a commit to stuggi/infra-operator that referenced this pull request Jun 18, 2024
stuggi added a commit to stuggi/keystone-operator that referenced this pull request Jun 18, 2024
stuggi added a commit to stuggi/keystone-operator that referenced this pull request Jun 18, 2024
stuggi added a commit to stuggi/keystone-operator that referenced this pull request Jun 18, 2024
stuggi added a commit to stuggi/placement-operator that referenced this pull request Jun 18, 2024
stuggi added a commit to stuggi/placement-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/keystone-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/barbican-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/cinder-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/designate-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/designate-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/glance-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/glance-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/ironic-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/manila-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/neutron-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/neutron-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/neutron-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/nova-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/octavia-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/openstack-baremetal-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/ovn-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/telemetry-operator that referenced this pull request Jun 19, 2024
openshift-merge-bot bot pushed a commit to openstack-k8s-operators/nova-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/heat-operator that referenced this pull request Jun 19, 2024
openshift-merge-bot bot pushed a commit to openstack-k8s-operators/placement-operator that referenced this pull request Jun 19, 2024
stuggi added a commit to stuggi/telemetry-operator that referenced this pull request Jun 20, 2024
gibizer pushed a commit to gibizer/mariadb-operator that referenced this pull request Nov 21, 2024
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