Migrate examples on to go fn framework

This commit is contained in:
Phillip Wittrock
2020-05-12 09:50:45 -07:00
parent 77fa5c2921
commit d5666c4ff4
11 changed files with 427 additions and 127 deletions

View File

@@ -1,6 +1,3 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
apiVersion: examples.config.kubernetes.io/v1beta1 # call `kustomize config run` on a directory containing this file
kind: Nginx
metadata:
@@ -8,6 +5,6 @@ metadata:
annotations:
config.kubernetes.io/function: |
container:
image: gcr.io/kustomize-functions/example-nginx:v0.1.0
image: gcr.io/kustomize-functions/example-nginx:v0.2.0
spec:
replicas: 4