TemplateProcessor can add custom resource schemas to openapi

This commit is contained in:
Katrina Verey
2021-05-12 14:48:03 -07:00
parent 9557888b32
commit 0fdf0f825f
9 changed files with 270 additions and 19 deletions

View File

@@ -0,0 +1,14 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
apiVersion: apps/v1
kind: Deployment
metadata:
name: foo
namespace: bar
spec:
template:
spec:
containers:
- name: foo
image: {{ .Image }}