mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Add an example function to append an Application CR to resources
This commit is contained in:
13
functions/examples/application-cr/config/fn-config.yaml
Normal file
13
functions/examples/application-cr/config/fn-config.yaml
Normal 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
|
||||
Reference in New Issue
Block a user