Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ww-gitops status not ready #4698

Open
adamcirillo opened this issue Feb 8, 2025 · 2 comments
Open

ww-gitops status not ready #4698

adamcirillo opened this issue Feb 8, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@adamcirillo
Copy link

adamcirillo commented Feb 8, 2025

Describe the bug
i've used the cli to create the config for gitops and installed it. In the ui here the status of ww-gitops is not ready. it seems this is related to not using an OCI Repository that causes this, I've made the changes in the 2nd yaml i provided below and this has fixed the problem. i had to add the image tag in there as well since it was pulling 0.38 the cli version i downloaded was 0.39.0-rc1
Image

Image

Environment

  • Weave-Gitops Version 0.39.0-rc1
  • Flux Version 2.4.0
  • Kubernetes version 1.32.1

To Reproduce
Steps to reproduce the behavior:

login to dashboard and click sources see screenshoot

Expected behavior

Status should be ready

Actual Behavior

status is not ready

Additional Context (screenshots, logs, etc)

---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
  annotations:
    metadata.weave.works/description:
      This is the source location for the Weave GitOps
      Dashboard's helm chart.
  labels:
    app.kubernetes.io/component: ui
    app.kubernetes.io/created-by: weave-gitops-cli
    app.kubernetes.io/name: weave-gitops-dashboard
    app.kubernetes.io/part-of: weave-gitops
  name: ww-gitops
  namespace: flux-system
spec:
  interval: 1h0m0s
  type: oci
  url: oci://ghcr.io/weaveworks/charts
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  annotations:
    metadata.weave.works/description:
      This is the Weave GitOps Dashboard.  It provides
      a simple way to get insights into your GitOps workloads.
  name: ww-gitops
  namespace: flux-system
spec:
  chart:
    spec:
      chart: weave-gitops
      sourceRef:
        kind: HelmRepository
        name: ww-gitops
  interval: 1h0m0s
  values:
    adminUser:
      create: true
      passwordHash: removed
      username: admin
    image:
      tag: 0.39.0-rc.1
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  annotations:
    metadata.weave.works/description:
      This is the source location for the Weave GitOps
      Dashboard's helm chart.
  labels:
    app.kubernetes.io/component: ui
    app.kubernetes.io/created-by: weave-gitops-cli
    app.kubernetes.io/name: weave-gitops-dashboard
    app.kubernetes.io/part-of: weave-gitops
  name: ww-gitops
  namespace: flux-system
spec:
  interval: 1m0s
  url: oci://ghcr.io/weaveworks/charts/weave-gitops
  ref:
    tag: 4.0.36
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  annotations:
    metadata.weave.works/description: >
      This is the Weave GitOps Dashboard. It provides a simple way to get insights into your GitOps workloads.
  name: ww-gitops
  namespace: flux-system
spec:
  interval: 5m0s
  releaseName: ww-gitops
  chartRef:
    kind: OCIRepository
    name: ww-gitops
    namespace: flux-system
  values:
    adminUser:
      create: true
      passwordHash: removed
      username: admin
    image:
      tag: 0.39.0-rc.1
@adamcirillo adamcirillo added the bug Something isn't working label Feb 8, 2025
@casibbald
Copy link
Collaborator

Are you able to make public the repo you are reconciling from?

Or extract portions of it that result in the error?

@adamcirillo
Copy link
Author

i have repo hosted on my forgejo server I've zipped the repo up here. I've just started learning gitops so still figuring things out

flux-config.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants