Skip to content

Commit

Permalink
add schema-stable and schema-nightly argoCD apps
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvigneshwars committed Jul 2, 2024
1 parent 804e6aa commit 8040f9a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
19 changes: 19 additions & 0 deletions charts/apps/templates/schema-nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: schema-nightly
namespace: {{ .Release.Namespace }}
spec:
project: {{ default .Release.Namespace .Values.project }}
source:
repoURL: {{ .Values.schema.repoURL }}
chart: {{ .Values.schema.chart }}
targetRevision: {{ .Values.schema.nightlyVersion }}
destination:
name: {{ .Values.destination.name }}
server: {{ .Values.destination.server }}
namespace: {{ default .Release.Namespace .Values.destination.namespace }}
syncPolicy:
automated:
prune: true
selfHeal: true
15 changes: 15 additions & 0 deletions charts/apps/templates/schema-stable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: schema-stable
namespace: {{ .Release.Namespace }}
spec:
project: {{ default .Release.Namespace .Values.project }}
source:
repoURL: {{ .Values.schema.repoURL }}
chart: {{ .Values.schema.chart }}
targetRevision: {{ .Values.schema.stableVersion }}
destination:
name: {{ .Values.destination.name }}
server: {{ .Values.destination.server }}
namespace: {{ default .Release.Namespace .Values.destination.namespace }}
6 changes: 6 additions & 0 deletions charts/apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ source:
graph:
path: charts/graph

schema:
repoURL: ghcr.io/diamondlightsource/graph-federation-supergraph
chart: supergraph
stableVersion: 0.1.1
nightlyVersion: 0.1.1

destination:
name: ""
server: ""
Expand Down

0 comments on commit 8040f9a

Please sign in to comment.