gravitational/wormhole

[BUG]

brian-mantech opened this issue · 0 comments

Describe the bug
The 'kube-wormhole.yaml' file references a deprecated API for the "PodSecurityPolicy".

To Reproduce
Deploy a new Kubernetes cluster based on anything 1.16 or newer. Next install WireGuard. Finally follow the Wormhole page to "Install (Kubeadm Cluster)". This just means run kubectl apply -f https://raw.githubusercontent.com/gravitational/wormhole/master/docs/kube-wormhole.yaml.

Expected behavior
A Wormhole container is deployed to all nodes in the cluster.

Fix
I am new to Kubernetes so maybe I am missing something but if I just change line 33 from apiVersion: extensions/v1beta1 to apiVersion: policy/v1beta1 it works as expected. You can see more details at Kubernetes Blog - Deprecated APIs Removed In 1.16: Here’s What You Need To Know

Versions (please complete the following information):

  • OS: CentOS 7.7.1908
  • Kubernetes 1.16 and 1.17