Skip to content

Commit

Permalink
#95 add comments to fixed names k8s-resource names in go code
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-dammeier committed Jul 19, 2024
1 parent 3ac60a1 commit b688f06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/context/setupContext.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ const (
// HelmRepositoryDevPath is the path to the config containing the endpoint of the HelmRepository. This is used for development.
HelmRepositoryDevPath = "k8s/dev-resources/helm-repository.yaml"
// SetupConfigConfigmap is the name of the config map containing the setup config.
// FIXME: the name of the configmap should not be hardcoded, as it can be changed via helm chart
SetupConfigConfigmap = "k8s-ces-setup-config"
// SetupConfigConfigmapDevPath is the path to the config map containing the setup config. This is used for development.
SetupConfigConfigmapDevPath = "k8s/dev-resources/k8s-ces-setup.yaml"
// SetupStartUpConfigMap is the name of the config map containing the setup.json.
// FIXME: the name of the configmap should not be hardcoded, as it can be changed via helm chart
SetupStartUpConfigMap = "k8s-ces-setup-json"
// SetupStartUpConfigMapDevPath is the path to the config map containing the setup.json. This is used for development.
SetupStartUpConfigMapDevPath = "k8s/dev-resources/setup.json"
// SetupStateConfigMap is the name of the config map containing the setup state.
// TODO: do we really need this? We only use this to forbid concurrent setups
// but this leads to more bad than good because the installing state blocks the re-execution of the setup, although it should be idempotent (it is not because of this)
SetupStateConfigMap = "k8s-setup-config"
// SetupStateKey is the key by which the setup state can be referenced.
SetupStateKey = "state"
Expand Down

0 comments on commit b688f06

Please sign in to comment.