Skip to content

Repository files navigation

CircleCI OpenSSF Scorecard

Guide about how to manage an app on Giant Swarm

Creating a repository from this template

A repository is created from this template by the repository set-up engine (devctl), which replaces the placeholders below, renames the chart directory helm/{APP-NAME} and pushes the result as the first commit. When copying by hand, rename the chart directory and replace them yourself (devctl replace -i '{APP-NAME}' <name> --ignore '.git/**' '**', likewise for the other two).

Placeholder Where Replaced with
{APP-NAME} the chart directory helm/{APP-NAME}, Chart.yaml, values.yaml, .abs/main.yaml, CHANGELOG.md, this README the repository name
{TEAM-NAME} the io.giantswarm.application.team annotation in Chart.yaml the owning team's short name, e.g. shield for team-shield
{APP HELM REPOSITORY} this README the upstream Helm repository the chart is based on

The tokens are braced, unlike REPOSITORY_NAME in the Go service template: a Go module path may not contain braces, so that template's token is brace-less. The engine's replacement pass handles both forms, so a repository is created from either template the same way; only when copying by hand does the pattern differ ({APP-NAME} here, REPOSITORY_NAME there).

The chart ships with the default Giant Swarm icon (https://s.giantswarm.io/app-icons/giantswarm/1/light.svg), so that the first build passes the icon checks. It is a default, not a placeholder: replace it with the app's own icon by adding it to web-assets and setting the final URL as icon in Chart.yaml.

Remove this section from the README of the created repository.

{APP-NAME} chart

Giant Swarm offers a {APP-NAME} App which can be installed in workload clusters. Here, we define the {APP-NAME} chart with its templates and default configuration.

What is this app?

Why did we add it?

Who can use it?

Installing

There are several ways to install this app onto a workload cluster.

Configuring

values.yaml

This is an example of a values file you could upload using our web interface.

# values.yaml

Sample App CR and ConfigMap for the management cluster

If you have access to the Kubernetes API on the management cluster, you could create the App CR and ConfigMap directly.

Here is an example that would install the app to workload cluster abc12:

# appCR.yaml
# user-values-configmap.yaml

See our full reference on how to configure apps for more details.

Compatibility

This app has been tested to work with the following workload cluster release versions:

  • add release version

Limitations

Some apps have restrictions on how they can be deployed. Not following these limitations will most likely result in a broken deployment.

  • add limitation

Credit

  • {APP HELM REPOSITORY}

About

Starting point for writing a giantswarm app

Topics

Resources

Security policy

Stars

2 stars

Watchers

9 watching

Forks

Used by

Contributors

Languages