armory / spinnaker-operator

Open Source Spinnaker Kubernetes Operator source code
Apache License 2.0
186 stars 71 forks source link

update(operator): update files for the new API of k8s v1.22 #252

Closed ichi0915 closed 2 years ago

ichi0915 commented 2 years ago

Hi, this is an update to make the operator work on k8s v1.22.

I updated the CRDs, the dependencies, the code and the dockerfile, I still need to do more testing to be completely sure it dosen't have any bugs, but for the moment I'm able to install the operator in k8s v1.22.3, apply the kustomize patches and get my spinnaker instance running without any issue.

If you want to check the changes to the code they are in this commit Update pkg files and dockerfile.compile for the new API of k8s v1.22

ichi0915 commented 2 years ago

Here are some gifs of the operator running on k8s v1.22

Deploy the CRDs and the operator

spinnaker-operator-1

Deploy the Kustomize patches

spinnaker-operator-2

Check deployment

spinnaker-operator-3

Test deployment with a port-forward

spinnaker-operator-4

I'm using this docker image: docker img and using this kustomize patches: patches