Skip to content

The declarative way to flush redis for our dashboard - #24

Merged
Andrei Kvapil (kvaps) merged 2 commits into
mainfrom
fix-redis
Feb 19, 2024
Merged

Andrei Kvapil (kvaps) merged 2 commits into
mainfrom
fix-redis

Conversation

@kvaps

@kvaps Andrei Kvapil (kvaps) commented Feb 19, 2024 •

Copy link
Copy Markdown
Member

This PR moves imperative logic of flushing redis from installer.sh to be declarative in platform chart.
Thus now redis will be restarted every time when the flux saves a new artifact for helmrelease in cozy-public namespace:

  values:
    kubeapps:
      redis:
        master:
          podAnnotations:
            repository.cozystack.io/cozystack-apps: "sha256:29222315d063ffede0e09e3d6a24549b3f818fd025646d52e938f4477098a1d1"
            repository.cozystack.io/cozystack-extra: "sha256:77381c0662e86398c8fcf53dfb82535cb328cfea38d1351cb220016e5ebe9ba1"

This logic is not critical, and used only to show actual infromation about the charts in our dashboard.

This is temporary solution but still a better than already existing now. Hopefully we'll refactor it in a while.

fixes #19

@kvaps Andrei Kvapil (kvaps) changed the title the declarative way to flush redis Еhe declarative way to flush redis for dashboard Feb 19, 2024
@kvaps Andrei Kvapil (kvaps) changed the title Еhe declarative way to flush redis for dashboard The declarative way to flush redis for dashboard Feb 19, 2024
@kvaps Andrei Kvapil (kvaps) changed the title The declarative way to flush redis for dashboard The declarative way to flush redis for our dashboard Feb 19, 2024
@kvaps Andrei Kvapil (kvaps) self-assigned this Feb 19, 2024

@s3rj1k Serhii Ivanov (s3rj1k) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM, much better than bash solution

@gecube George Gaál (gecube) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

anyway we need to post a bug issue to kubeapps project.

@kvaps

Copy link
Copy Markdown
Member Author

anyway we need to post a bug issue to kubeapps project.

Sure, I just sent it to upstream
vmware-tanzu/kubeapps#7500

@kvaps
Andrei Kvapil (kvaps) merged commit 235a2fc into main Feb 19, 2024
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.

Move kubeapps cache reloading logic out of installer.sh

4 participants