Closed williamflynt closed 4 years ago
Hi @williamflynt, Thanks for this PR!
I've finally had time to test this PR and it looks good. I made some changes and pushed them to your branch so it can be merged:
apiVersion
for Ingress objects, because it seems they aren't out of beta yet.👋 Hi @orangejulius, As per the following quote from Kubernetes Deployment documentation
In API version
apps/v1
,.spec.selector
and.metadata.labels
do not default to.spec.template.metadata.labels
if not set. So they must be set explicitly. Also note that.spec.selector
is immutable after creation of the Deployment inapps/v1
.
.spec.selector
is mandatory in API version apps/v1
. Since, apiVersion
is updated to apps/v1
the deployments are no longer working when running helm install
.
I have created a pull request pelias/kubernetes#126 for the same. Please let me know if anything else is required.
Thanks! 😃
:wave: I did some ~awesome~ minimal work for the Pelias project and would love for everyone to have a look at it and provide feedback.
Here's the reason for this change :rocket:
Here's what actually got changed :clap:
extensions/v1beta1
-->apps/v1
, plus a bonus search and replace fromapps/v1beta1
-->apps/v1
.spec.selector.matchLabels.app
to deployment templates.Here's how others can test the changes :eyes:
I tested very briefly via deployment to minikube:
This results in a success message.