Skip to content

Add Helm configuration for dashboard apps#263

Merged
dbutenhof merged 4 commits intocloud-bulldozer:mainfrom
dbutenhof:mergecd
Aug 20, 2025
Merged

Add Helm configuration for dashboard apps#263
dbutenhof merged 4 commits intocloud-bulldozer:mainfrom
dbutenhof:mergecd

Conversation

@dbutenhof
Copy link
Copy Markdown
Collaborator

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

This modifies the existing dashboard-dev Helm Chart to make it and the external dashboard Helm Chart more reusable, and adds a new Helm Chart to define OpenShift-GitOps (ArgoCD) Application resources for both versions of the dashboard.

Note that the deployment layout had diverged when the container build moved the application (and secret) from /backend to /opt/backend. There was never a good reason for the move and to merge the two environments I've somewhat arbitrarily reversed that change.

Related Tickets & Documents

PANDA-771 (update CD) – INTLAB

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

Ad hoc testing on the INTLAB cluster using a set of hacked charts to deploy a new temporary "dashboard-test" application.

I had some problems getting OpenShift-GitOps to create resources in the dashboard-test namespace until adding the label "argocd.argoproj.io/managed-by=openshift-gitops"; however as the existing dashboard and dashboard-dev namespaces don't have this label, I don't understand why it's needed ... or perhaps, why ArgoCD was able to deploy in those other namespaces without it.

Clearly there's a lot going on under the covers (under multiple layers of covers) that I don't understand, so please review carefully and comment liberally based on any knowledge of OpenShift-GitOps/ArgoCD and/or OpenShift/Kubernetes you may have that might be relevant. 😆

MVarshini
MVarshini previously approved these changes Aug 11, 2025
Copy link
Copy Markdown
Collaborator

@MVarshini MVarshini left a comment

Choose a reason for hiding this comment

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

LGTM!

This modifies the existing dashboard-dev Helm Chart to make it and the
external dashboard Helm Chart more reusable, and adds a new Helm Chart
to define OpenShift-GitOps (ArgoCD) Application resources for both
versions of the dashboard.

Note that the deployment layout had diverged when the container build
moved the application (and secret) from /backend to /opt/backend. There
was never a good reason for the move and to merge the two environments
I've somewhat arbitrarily reversed that change.
I still don't understand why I need to add the namespace label, when the existing namespaces seem to have worked fine without this. It's more than just the "oc new-project" setup, because I deployment fails with the same namespace permission errors (unable to create resources) when I create `dashboard-test` with `new-project` and attempt to deploy.

For now, I'm just accepting this odd experimental reality and moving on...
@dbutenhof dbutenhof merged commit 5eae5bc into cloud-bulldozer:main Aug 20, 2025
10 checks passed
@dbutenhof dbutenhof deleted the mergecd branch August 20, 2025 11:50
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.

2 participants