janus-idp / helm-backstage

Helm Chart for Deploying Backstage. This repo is deprecated. Please move to https://github.com/redhat-developer/rhdh-chart
https://redhat-developer.github.io/rhdh-chart/
Apache License 2.0
62 stars 53 forks source link

Postgresql `volumeClaimTemplate` is ArgoCD incompatible #137

Open tumido opened 1 year ago

tumido commented 1 year ago

Describe the bug

Deploying the chart results in VolumeClaim to be created from a template. ArgoCD complains about following issue:

image (2)

Expected Behavior

Chart doesn't use fields that are not admissible.

What are the steps to reproduce this bug?

TBD

Versions of software used and environment

Zaperex commented 9 months ago

@tumido can I get more details on this issue? When I tried replicating this issue on a local argocd server hosted on openshift local, using the 2.11.4 chart, argocd doesn't seem to complain about anything?

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: janus-backstage
spec:
  destination:
    name: ''
    namespace: test
    server: 'https://api.crc.testing:6443'
  source:
    path: ''
    repoURL: 'https://janus-idp.github.io/helm-backstage'
    targetRevision: 2.11.4
    chart: backstage
    helm:
      valueFiles:
        - values.yaml
      parameters:
        - name: global.clusterRouterBase
          value: apps-crc.testing
        - name: upstream.backstage.image.tag
          value: next
  sources: []
  project: backstage-testing

The desired manifest for the volumeClaimTemplate seems to match the live manifest and I don't seem to see the issue shown in the screenshot for the issue.

Screencast from 2024-01-08 15-43-59.webm