update kyaml in functions/examples

This commit is contained in:
yugo kobayashi
2022-07-07 18:51:12 +00:00
parent d2ceab5f30
commit bd67fc2781
17 changed files with 1243 additions and 424 deletions

View File

@@ -1,14 +1,5 @@
# Copyright 2020 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
apiVersion: examples.config.kubernetes.io/v1beta1
kind: Validator
metadata:
annotations:
config.kubernetes.io/function: |-
container:
image: gcr.io/kustomize-functions/example-tshirt:v0.2.0
---
apiVersion: apps/v1
kind: Deployment
metadata:

View File

@@ -0,0 +1,4 @@
resources:
- example-use.yaml
transformers:
- transformer.yaml

View File

@@ -0,0 +1,8 @@
apiVersion: examples.config.kubernetes.io/v1beta1
kind: tshirt
metadata:
name: tshirt
annotations:
config.kubernetes.io/function: |-
container:
image: gcr.io/kustomize-functions/example-tshirt:v0.3.0