Go to file
Varac caa730ffa8
Apply apps
2022-03-30 22:16:24 +02:00
basic Apply apps 2022-03-30 22:16:24 +02:00
README.md Add podinfo source + helmrelease 2022-03-30 22:11:12 +02:00

README.md

custom-flux-example

Example boilerplate for a custom flux repository which can be added to a Stackspin cluster. The main use-case is to add additional applications which are not integrated into Stackspin (yet).

For a more advanced example repo see the flux2-kustomize-helm-example repo. This repo's directory structure is similar to the flux2-kustomize-helm-example one.

Basic configuration

We'll start with a very basic configuration:

  • It uses a public git repo
  • No secrets are included
  • No forking/modifications needed, install as it is

Apply it to your cluster:

basic/install.sh

List the resource created by this flux repo:

kubectl -n flux-system get gitrepositories
kubectl -n flux-system get kustomizations
kubectl -n example get helmreleases

Show output of the one and only app applied, podinfo

curl --resolve podinfo.local:80:CLUSTER_IPV4_ADDRESS http://podinfo.local