mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +00:00
write krm metadata to Krmfile instead of Kustomization
This commit is contained in:
committed by
Phillip Wittrock
parent
c1a2bf14da
commit
0e5e2648b3
19
kyaml/krmfile/doc.go
Normal file
19
kyaml/krmfile/doc.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright 2019 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package krmfile provides functionality for working with Krmfiles.
|
||||
//
|
||||
// Example Krmfile
|
||||
//
|
||||
// apiVersion: config.k8s.io/v1alpha1
|
||||
// kind: Krmfile
|
||||
// openAPI:
|
||||
// definitions:
|
||||
// io.k8s.cli.setters.replicas:
|
||||
// x-k8s-cli:
|
||||
// setter:
|
||||
// name: replicas
|
||||
// value: "3"
|
||||
// setBy: me
|
||||
// description: "hello world"
|
||||
package krmfile
|
||||
10
kyaml/krmfile/krmfile.go
Normal file
10
kyaml/krmfile/krmfile.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2019 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package krmfile
|
||||
|
||||
// KRMFileName is the file where Krm metadata is stored
|
||||
const (
|
||||
// KrmfileName is the name of the file that KRM metadata is written to
|
||||
KrmfileName = "Krmfile"
|
||||
)
|
||||
Reference in New Issue
Block a user