Add an example function to append an Application CR to resources

This commit is contained in:
Jingfang Liu
2020-02-27 16:07:40 -08:00
parent ef76575ab6
commit f6ad78650e
12 changed files with 709 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
apiVersion: examples.config.kubernetes.io/v1beta1
kind: CreateApp
metadata:
annotations:
config.kubernetes.io/function: |
container:
image: gcr.io/kustomize-functions/create-application:v0.1.0
spec:
managedBy: jingfang
name: example-app
namespace: example-namespace