Skip to content

Commit ffebffb

Browse files
committed
add missing if
1 parent 3ff1325 commit ffebffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/addons/gvisor/gvisor-runtimeclass.yaml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
apiVersion: node.k8s.io/v1{{.LegacyRuntimeClass}}beta1{{end}}
15+
apiVersion: node.k8s.io/v1{{if .LegacyRuntimeClass}}beta1{{end}}
1616
kind: RuntimeClass
1717
metadata:
1818
name: gvisor

0 commit comments

Comments
 (0)