No description
  • Go Template 100%
Find a file
2024-06-13 15:53:01 -05:00
.github/workflows Update release.yaml 2024-02-28 13:48:50 -06:00
charts/harness-ccm-autostopping feat: chart (#1) 2024-02-28 13:49:14 -06:00
.gitignore feat: chart (#1) 2024-02-28 13:49:14 -06:00
index.yaml Update index.yaml 2024-02-21 18:31:05 +00:00
README.md Update README.md 2024-06-13 15:53:01 -05:00

harness-ccm-autostopping

Caution

development of this chart has moved to rssnyder/charts

helm chart for the kubernetes autostopping controller and router

this chart deploys the components in red image

usage

⚠️ You must have the target cluster set up in Harness with a K8s and CCM K8s connector before you deploy this chart

install repo helm repo add harness-ccm-autostopping https://rssnyder.github.io/harness-ccm-autostopping

update repo helm repo update harness-ccm-autostopping

deploy chart (you must set your namespace to harness-autostopping)

helm upgrade -i harness-autostopping --namespace harness-autostopping --create-namespace \
  harness-ccm-autostopping/harness-ccm-autostopping \
  --set accountId=wlgELJ0TTre5aZhzpt8gVA \
  --set connectorId=_lab_ccm \
  --set apiToken=sat.wlgELJ0TTre5aZhzpt8gVA.xxxxxxxxxxxx
  • accountId: your Harness account ID
  • connectorId: the ID for the CCM K8s connector for this cluster
  • apiToken: a Harness API key with at least ccm:read for all account level resources

development notes

things that must be hard-coded:

namespace: harness-autostopping

service name for router: autostopping-router

service name for controller: autostopping-controller (therefor also hard-coded in the router configmap)

deployment name for controller: autostopping-controller

configmap: harness-autostopping-enforcement

secret name for api key: harness-api-key