Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Loosen equality on crds. #192

Merged
merged 4 commits into from
Oct 21, 2021

Conversation

Chrisbattarbee
Copy link
Contributor

k8s sets additional fields when we submit our CRD to the api server, this causes issues when we come to compare local versions to it later. To get around this, we only compare the values that are necessary for us to determine whether or not to update.

kubernetes-sigs/kubebuilder#592

k8s sets fields when we submit our CRD to the api, this causes issues when we come to compare local versions to it later. kubernetes-sigs/kubebuilder#592
internal/crd/utils.go Outdated Show resolved Hide resolved
internal/crd/utils.go Show resolved Hide resolved
@Chrisbattarbee Chrisbattarbee merged commit 22b3b31 into master Oct 21, 2021
@Chrisbattarbee Chrisbattarbee deleted the cbattarbee/make-crd-equality-less-strict branch October 21, 2021 15:43
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.

2 participants