Skip to content

Commit

Permalink
move to manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
bfoley13 committed Oct 7, 2024
1 parent 6f1f4ce commit 86976db
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestRun(t *testing.T) {
createConfig: &testCreateConfig,
templateWriter: &writers.LocalFSWriter{},
}
deployTypes := []string{"helm", "kustomize", "manifest"}
deployTypes := []string{"helm", "kustomize", "manifests"}
oldDockerfile, _ := ioutil.ReadFile("./../Dockerfile")
oldDockerignore, _ := ioutil.ReadFile("./../.dockerignore")

Expand Down
2 changes: 1 addition & 1 deletion example/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func WriteDeploymentFilesExample() error {
}

// Select the deployment type to generate the files for (must correspond to a directory in the template/deployments directory)
deploymentTemplateType := "deployment-manifest"
deploymentTemplateType := "deployment-manifests"

// Create a DraftConfig of inputs to the template (must correspond to the inputs in the template/deployments/<deploymentType>/draft.yaml files)
templateVars := map[string]string{
Expand Down
2 changes: 1 addition & 1 deletion pkg/handlers/deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestManifestDeploymentValidation(t *testing.T) {
}{
{
name: "valid manifest deployment",
templateName: "deployment-manifest",
templateName: "deployment-manifests",
fixturesBaseDir: "../fixtures/deployments/manifest",
version: "0.0.1",
dest: ".",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
templateName: "deployment-manifest"
templateName: "deployment-manifests"
description: "This template is used to create a Kubernetes manifest deployment for an application"
versions: "0.0.1"
defaultVersion: "0.0.1"
Expand Down

0 comments on commit 86976db

Please sign in to comment.