Skip to content

Commit

Permalink
Handle RuntimeClass node.k8s.io/v1 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
shafeeqes authored Sep 2, 2022
1 parent f042a39 commit 0ecf3a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/internal/gvisor/templates/runtimeclass-gvisor.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{{- if semverCompare ">= 1.20-0" .Capabilities.KubeVersion.GitVersion }}
apiVersion: node.k8s.io/v1
{{- else }}
apiVersion: node.k8s.io/v1beta1
{{- end }}
kind: RuntimeClass
metadata:
name: gvisor
Expand Down

0 comments on commit 0ecf3a2

Please sign in to comment.