mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Spelling nits.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
// Code generated by pluginator on HelmChartInflationGenerator; DO NOT EDIT.
|
||||
// pluginator {unknown 1970-01-01T00:00:00Z }
|
||||
|
||||
|
||||
|
||||
package builtins
|
||||
|
||||
import (
|
||||
@@ -177,5 +175,5 @@ func (p *HelmChartInflationGeneratorPlugin) checkHelmVersion() error {
|
||||
}
|
||||
|
||||
func NewHelmChartInflationGeneratorPlugin() resmap.GeneratorPlugin {
|
||||
return &HelmChartInflationGeneratorPlugin{}
|
||||
return &HelmChartInflationGeneratorPlugin{}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,10 @@ import (
|
||||
// FieldValidator implements ifc.Validator to check
|
||||
// the values of various KRM string fields,
|
||||
// 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 {
|
||||
}
|
||||
|
||||
|
||||
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.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package resource implements representations of k8s API resources.
|
||||
package resource
|
||||
|
||||
import (
|
||||
|
||||
@@ -1031,7 +1031,7 @@ type testRecord struct {
|
||||
// TestMultiplePatches checks that the patches are applied
|
||||
// properly, that the same result is obtained,
|
||||
// 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) {
|
||||
tests := map[string]testRecord{
|
||||
"withschema-label-image-container": {
|
||||
|
||||
Reference in New Issue
Block a user