chore(typo): fix some typos
This commit is contained in:
@@ -33,7 +33,7 @@ type ConvertOptions struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// HelmChart is a Helm Chart representation. It contains all the
|
// HelmChart is a Helm Chart representation. It contains all the
|
||||||
// tempaltes, values, versions, helpers...
|
// templates, values, versions, helpers...
|
||||||
type HelmChart struct {
|
type HelmChart struct {
|
||||||
Templates map[string]*ChartTemplate `yaml:"-"`
|
Templates map[string]*ChartTemplate `yaml:"-"`
|
||||||
Values map[string]any `yaml:"-"`
|
Values map[string]any `yaml:"-"`
|
||||||
|
@@ -53,7 +53,7 @@ const imagePullSecretHelp = `
|
|||||||
# e.g.
|
# e.g.
|
||||||
# pullSecrets:
|
# pullSecrets:
|
||||||
# - name: regcred
|
# - name: regcred
|
||||||
# You are, for now, repsonsible for creating the secret.
|
# You are, for now, responsible for creating the secret.
|
||||||
`
|
`
|
||||||
|
|
||||||
const imagePullPolicyHelp = `# imagePullPolicy allows you to specify a policy to cache or always pull an image.
|
const imagePullPolicyHelp = `# imagePullPolicy allows you to specify a policy to cache or always pull an image.
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
The generator package generates kubernetes objects from a "compose" file and transforms them into a helm chart.
|
The generator package generates kubernetes objects from a "compose" file and transforms them into a helm chart.
|
||||||
|
|
||||||
The generator package is the core of katenary. It is responsible for generating kubernetes objects from a compose file and transforming them into a helm chart.
|
The generator package is the core of katenary. It is responsible for generating kubernetes objects from a compose file and transforming them into a helm chart.
|
||||||
Convertion manipulates Yaml representation of kubernetes object to add conditions, labels, annotations, etc. to the objects. It also create the values to be set to
|
Conversion manipulates Yaml representation of kubernetes object to add conditions, labels, annotations, etc. to the objects. It also create the values to be set to
|
||||||
the values.yaml file.
|
the values.yaml file.
|
||||||
|
|
||||||
The generate.Convert() create an HelmChart object and call "Generate()" method to convert from a compose file to a helm chart.
|
The generate.Convert() create an HelmChart object and call "Generate()" method to convert from a compose file to a helm chart.
|
||||||
|
@@ -34,7 +34,7 @@ type IngressValue struct {
|
|||||||
TLS TLS `yaml:"tls"`
|
TLS TLS `yaml:"tls"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Value will be saved in values.yaml. It contains configuraiton for all deployment and services.
|
// Value will be saved in values.yaml. It contains configuration for all deployment and services.
|
||||||
type Value struct {
|
type Value struct {
|
||||||
Repository *RepositoryValue `yaml:"repository,omitempty"`
|
Repository *RepositoryValue `yaml:"repository,omitempty"`
|
||||||
Persistence map[string]*PersistenceValue `yaml:"persistence,omitempty"`
|
Persistence map[string]*PersistenceValue `yaml:"persistence,omitempty"`
|
||||||
|
Reference in New Issue
Block a user