Deploy dashboard chart with flux
Integrate new app
Flux
-
Create new source if needed in flux2/infrastructure/sources/APP.yaml
-
Include APP.yaml
influx2/infrastructure/sources/kustomization.yaml
-
Add app secret: install/templates/stackspin-APP-variables.yaml.jinja
-
Add app oauth secret to install/templates/stackspin-oauth-variables.yaml.jinja
- Add kustomizations:
-
flux2/cluster/optional/APP/APP.yaml
-
flux2/apps/APP/kustomization.yaml
-
If needed, add PVCs in flux2/apps/APP/pvc.yaml
-
Add helmrelease in flux2/apps/APP/release.yaml
- Mem resource requests/limits: See #1027 (closed)
-
mem request: the median weekly memory usage of an app -
mem limit: 150% of the weekly max memory usage
-
Tests
-
Make sure testing app resources work ( test/pytest/test_resources.py
) -
Make sure testing app cert works ( test/pytest/test_certs.py
) -
Add Taiko test ( tests/taiko
)
CI
Add the following elements to .gitlab-ci.yml
:
-
.APP-rules
partial -
enable-APP
job -
APP-kustomization-ready
job -
APP-cert
job -
APP-taiko
test job
Renovatebot
-
Make sure the needed HelmRelease
fields for renovatebot are in place and order, i.e.# renovate: registryUrl=https://helm-charts.wikimedia.org/stable/ chart: eventrouter version: 0.3.6
**Note**: the order of these lines is important for renovatebot's regular expression to match them. For adding the registryUrl automatically, you could use the [renovate-helm-releases](https://github.com/k8s-at-home/renovate-helm-releases) script: ``` git clone https://github.com/k8s-at-home/renovate-helm-releases /tmp/renovate-helm-releases /tmp/renovate.py --cluster-path flux2 ```
-
Make sure that latest renovate pipeline checks for app updates after the new app is merged into the main branch
Etc
-
Create follow-up issue with: -
Fine-tune CPU and mem limits (https://open.greenhost.net/stackspin/stackspin/-/ issues/1027)
-
-
How to deal with secrets in configmaps (dashboard#14 (closed))
Edited by Varac