apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: forgejo-server namespace: argocd labels: env: dev spec: project: default syncPolicy: automated: selfHeal: true syncOptions: - CreateNamespace=true retry: limit: -1 destination: name: in-cluster namespace: gitea sources: - repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/forgejo-helm.git path: . # first check out the desired version (example v9.0.0): https://code.forgejo.org/forgejo-helm/forgejo-helm/src/tag/v9.0.0/Chart.yaml # (note that the chart version is not the same as the forgejo application version, which is specified in the above Chart.yaml file) # then use the devops pipeline and select development, forgejo and the desired version (example v9.0.0): # https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/devops-pipelines/actions?workflow=update-helm-depends.yaml&actor=0&status=0 # finally update the desired version here and include "-depends", it is created by the devops pipeline. # why do we have an added "-depends" tag? it resolves rate limitings when downloading helm OCI dependencies targetRevision: v9.0.0-depends helm: valueFiles: - $values/otc/observability.buildth.ing/stacks/forgejo/forgejo-server/values.yaml - repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances targetRevision: HEAD ref: values - repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances targetRevision: HEAD path: "otc/observability.buildth.ing/stacks/forgejo/forgejo-server/manifests"