Some fixes on "same-pod" and volumes + add some tests #82

Merged
metal3d merged 20 commits from develop into master 2024-11-25 22:17:56 +00:00
4 changed files with 4 additions and 4 deletions
Showing only changes of commit 41a0dc58a5 - Show all commits

View File

@@ -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:"-"`

View File

@@ -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.

View File

@@ -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.

View File

@@ -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"`