Moved all custom naming into one place
This commit is contained in:
@@ -4,7 +4,8 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
buildinfo "undecided.project/monok8s/pkg/buildinfo"
|
||||
monov1alpha1 "example.com/monok8s/pkg/apis/monok8s/v1alpha1"
|
||||
buildinfo "example.com/monok8s/pkg/buildinfo"
|
||||
)
|
||||
|
||||
type TemplateValues struct {
|
||||
@@ -75,10 +76,10 @@ func defaultTemplateValues() TemplateValues {
|
||||
SubjectAltNames: []string{"10.0.0.10", "localhost", "monok8s-master-1"},
|
||||
|
||||
NodeLabels: map[string]string{
|
||||
"monok8s.io/label": "value",
|
||||
monov1alpha1.Label: "value",
|
||||
},
|
||||
NodeAnnotations: map[string]string{
|
||||
"monok8s.io/annotation": "value",
|
||||
monov1alpha1.Annotation: "value",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user