stack-template-engine

command module
v0.0.0-...-56f2d6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

README

Stack template engine

Developing

Testing

There are some rudimentary integration tests.

First, build the stack:

kubectl crossplane stack build

This is the most convenient way to get the contents of the stack into the cluster.

Next, start the controller locally:

make run

Then, in another window, run the integration test to build all the helpers and create test objects:

make integration-test

It should create a config map named mycustomname-{{ engine }}. So, for example, mycustomname-helm2 for the helm 2 integration test.

To clean up, run:

make clean-integration-test

The source files for the integration tests are in test/ and in the Makefile.

To debug the integration test, inspect the logs for any jobs or pods which were run by the controller. Also take a look at the controller's logs.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the helm v1alpha1 API group +kubebuilder:object:generate=true +groupName=helm.samples.stacks.crossplane.io
Package v1alpha1 contains API Schema definitions for the helm v1alpha1 API group +kubebuilder:object:generate=true +groupName=helm.samples.stacks.crossplane.io
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL