Skip to content

fix(#585): parameterize remaining hardcoded values in addon charts (devlake, ray-system, keycloak) - #827

Merged
elamaran11 merged 1 commit into
release/v0.3.0-rc3from
fix/585-remove-hardcoded-values
Sep 1, 2026
Merged

fix(#585): parameterize remaining hardcoded values in addon charts (devlake, ray-system, keycloak)#827
elamaran11 merged 1 commit into
release/v0.3.0-rc3from
fix/585-remove-hardcoded-values

Conversation

@allamand

@allamand allamand commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

What

Parameterizes / removes the remaining hardcoded peeks / us-west-2 / pinned values in the non-KRO addon charts flagged by #585:

file before after
devlake/templates/external-secret.yaml (x2) peeks-devlake/mysql-connection {{ .Values.resourcePrefix | default "peeks" }}-devlake/mysql-connection
platform-manifests/templates/ray-system-iamroleselectors.yaml (x2) role/peeks-cluster-mgmt-{iam,eks} role/{{ .Values.global.resourcePrefix | default "peeks" }}-cluster-mgmt-{iam,eks}
keycloak/templates/keycloak-config.yaml curl ... s3.us-west-2.amazonaws.com/amazon-eks/1.32.0/2024-12-20/.../kubectl curl ... dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/.../kubectl

Why

  • devlake / ray-system: use | default "peeks", so rendering is byte-identical when unset (no behavior change on existing deployments). devlake is aligned with the grafana-dashboards sibling that reads the same SM secret.
  • keycloak: the old URL hardcoded the region and pinned kubectl 1.32.0 coupled to an EKS build date (2024-12-20) — not renovate-trackable (a version bump would leave a broken date). Switched to the dl.k8s.io/release/stable pattern already used everywhere else in the repo (cicd-pipeline x5, kubeflow) → removes the hardcoded region and the version pin, always fetches the current stable kubectl, no renovate customManager needed, and makes the repo consistent.

Verified live (read-only) on kro-c1 that these were the charts still carrying hardcoded values; already-fixed items (backstage system-peeks, huggingface-models, image-prepuller, grafana-dashboards) confirmed clean.

Deferred / for discussion

Partially addresses #585 (non-KRO charts); KRO portion tracked in #597.

…arts

- devlake/external-secret.yaml: remoteKey peeks-devlake/mysql-connection ->
  {{ .Values.resourcePrefix | default "peeks" }}-devlake/mysql-connection
  (aligns with the grafana-dashboards sibling that reads the same SM secret)
- platform-manifests/ray-system-iamroleselectors.yaml: peeks-cluster-mgmt-{iam,eks}
  -> {{ .Values.global.resourcePrefix | default "peeks" }}-cluster-mgmt-*
- keycloak/keycloak-config.yaml: replace the hardcoded EKS kubectl URL
  (s3.us-west-2 + pinned 1.32.0 + build date) with the repo-standard
  dl.k8s.io/release/stable pattern used everywhere else (cicd-pipeline, kubeflow) --
  removes the hardcoded region AND the version pin, no renovate customManager needed.

Behaviour-preserving (devlake/ray use '| default'). KRO resource-groups manifests
(appmod-service.yaml, ray-service.yaml) left to #597.
@allamand
allamand force-pushed the fix/585-remove-hardcoded-values branch from 4b9ec39 to ad7b47e Compare September 1, 2026 12:42
@allamand
allamand changed the base branch from main to v0.3.0-rc3 September 1, 2026 13:39
@allamand
allamand changed the base branch from v0.3.0-rc3 to release/v0.3.0-rc3 September 1, 2026 14:01

@shapirov103 shapirov103 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elamaran11 elamaran11 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elamaran11
elamaran11 merged commit 43af9c7 into release/v0.3.0-rc3 Sep 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants