diff --git a/generator/chart.go b/generator/chart.go index b1f7751..5482bdf 100644 --- a/generator/chart.go +++ b/generator/chart.go @@ -33,7 +33,7 @@ type ConvertOptions struct { } // HelmChart is a Helm Chart representation. It contains all the -// tempaltes, values, versions, helpers... +// templates, values, versions, helpers... type HelmChart struct { Templates map[string]*ChartTemplate `yaml:"-"` Values map[string]any `yaml:"-"` diff --git a/generator/converter.go b/generator/converter.go index bbb2400..cd0d11d 100644 --- a/generator/converter.go +++ b/generator/converter.go @@ -53,7 +53,7 @@ const imagePullSecretHelp = ` # e.g. # pullSecrets: # - 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. diff --git a/generator/doc.go b/generator/doc.go index 333ac56..90332ae 100644 --- a/generator/doc.go +++ b/generator/doc.go @@ -2,7 +2,7 @@ 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. -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 generate.Convert() create an HelmChart object and call "Generate()" method to convert from a compose file to a helm chart. diff --git a/generator/values.go b/generator/values.go index 2b6f83a..e253a51 100644 --- a/generator/values.go +++ b/generator/values.go @@ -34,7 +34,7 @@ type IngressValue struct { 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 { Repository *RepositoryValue `yaml:"repository,omitempty"` Persistence map[string]*PersistenceValue `yaml:"persistence,omitempty"`