mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
@@ -1,8 +1,6 @@
|
|||||||
// Code generated by pluginator on HelmChartInflationGenerator; DO NOT EDIT.
|
// Code generated by pluginator on HelmChartInflationGenerator; DO NOT EDIT.
|
||||||
// pluginator {unknown 1970-01-01T00:00:00Z }
|
// pluginator {unknown 1970-01-01T00:00:00Z }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
package builtins
|
package builtins
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@@ -177,5 +175,5 @@ func (p *HelmChartInflationGeneratorPlugin) checkHelmVersion() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewHelmChartInflationGeneratorPlugin() resmap.GeneratorPlugin {
|
func NewHelmChartInflationGeneratorPlugin() resmap.GeneratorPlugin {
|
||||||
return &HelmChartInflationGeneratorPlugin{}
|
return &HelmChartInflationGeneratorPlugin{}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ import (
|
|||||||
// FieldValidator implements ifc.Validator to check
|
// FieldValidator implements ifc.Validator to check
|
||||||
// the values of various KRM string fields,
|
// the values of various KRM string fields,
|
||||||
// e.g. labels, annotations, names, namespaces.
|
// e.g. labels, annotations, names, namespaces.
|
||||||
|
//
|
||||||
|
// TODO: Have this use kyaml/yaml/internal/k8sgen/pkg/labels
|
||||||
|
// which has label and annotation validation code, but is internal
|
||||||
|
// so this impl would need to move to kyaml (a fine idea).
|
||||||
type FieldValidator struct {
|
type FieldValidator struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
5
api/resource/doc.go
Normal file
5
api/resource/doc.go
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
// Copyright 2020 The Kubernetes Authors.
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
// Package resource implements representations of k8s API resources.
|
||||||
|
package resource
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2019 The Kubernetes Authors.
|
// Copyright 2019 The Kubernetes Authors.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
// Package resource implements representations of k8s API resources.
|
|
||||||
package resource
|
package resource
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1031,7 +1031,7 @@ type testRecord struct {
|
|||||||
// TestMultiplePatches checks that the patches are applied
|
// TestMultiplePatches checks that the patches are applied
|
||||||
// properly, that the same result is obtained,
|
// properly, that the same result is obtained,
|
||||||
// regardless of the order of the patches and regardless
|
// regardless of the order of the patches and regardless
|
||||||
// of the schema availibility (SMP vs JSON)
|
// of the schema availability (SMP vs JSON)
|
||||||
func TestMultiplePatches(t *testing.T) {
|
func TestMultiplePatches(t *testing.T) {
|
||||||
tests := map[string]testRecord{
|
tests := map[string]testRecord{
|
||||||
"withschema-label-image-container": {
|
"withschema-label-image-container": {
|
||||||
|
|||||||
Reference in New Issue
Block a user