diff --git a/charts/apps/templates/monitoring.yaml b/charts/apps/templates/monitoring.yaml index 3db6663..c519740 100644 --- a/charts/apps/templates/monitoring.yaml +++ b/charts/apps/templates/monitoring.yaml @@ -8,9 +8,9 @@ metadata: spec: project: {{ default .Release.Namespace .Values.project }} source: - repoURL: {{ .Values.source.repoURL }} - targetRevision: {{ .Values.source.targetRevision }} - path: {{ .Values.source.monitoring.path }} + repoURL: {{ .Values.monitoring.repoURL }} + targetRevision: {{ .Values.monitoring.targetRevision }} + path: {{ .Values.monitoring.path }} destination: name: {{ .Values.destination.name }} server: {{ .Values.destination.server }} diff --git a/charts/apps/templates/nightly.yaml b/charts/apps/templates/nightly.yaml index 71165b1..d6f5c2e 100644 --- a/charts/apps/templates/nightly.yaml +++ b/charts/apps/templates/nightly.yaml @@ -7,42 +7,45 @@ metadata: - resources-finalizer.argocd.argoproj.io spec: project: {{ default .Release.Namespace .Values.project }} - source: - repoURL: {{ .Values.source.repoURL }} - targetRevision: {{ .Values.source.targetRevision }} - path: {{ .Values.source.graph.path }} - helm: - valuesObject: - router: + sources: + - repoURL: {{ .Values.graph.repoURL }} + targetRevision: {{ .Values.graph.targetRevision }} + path: {{ .Values.graph.path }} + helm: + valuesObject: router: - configuration: - sandbox: + router: + configuration: + sandbox: enabled: false supergraph: - path: /nightly - telemetry: - exporters: - metrics: - common: - resource: - "service.name": "router-nightly" - otlp: - enabled: true - endpoint: 'graph-monitoring-opentelemetry-collector:4317' - protocol: grpc - tracing: - common: - resource: - "service.name": "router-nightly" - otlp: - enabled: true - endpoint: 'graph-monitoring-opentelemetry-collector:4317' - protocol: grpc - propagation: - trace_context: true - oauth2-proxy: - ingress: - path: /nightly + path: /nightly + telemetry: + exporters: + metrics: + common: + resource: + "service.name": "router-nightly" + otlp: + enabled: true + endpoint: 'graph-monitoring-opentelemetry-collector:4317' + protocol: grpc + tracing: + common: + resource: + "service.name": "router-nightly" + otlp: + enabled: true + endpoint: 'graph-monitoring-opentelemetry-collector:4317' + protocol: grpc + propagation: + trace_context: true + oauth2-proxy: + ingress: + path: /nightly + - repoURL: {{ .Values.schema.repoURL }} + chart: {{ .Values.schema.chart }} + targetRevision: 0.1.1 destination: name: {{ .Values.destination.name }} server: {{ .Values.destination.server }} diff --git a/charts/apps/templates/schema-nightly.yaml b/charts/apps/templates/schema-nightly.yaml deleted file mode 100644 index b741bd6..0000000 --- a/charts/apps/templates/schema-nightly.yaml +++ /dev/null @@ -1,19 +0,0 @@ -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 diff --git a/charts/apps/templates/schema-stable.yaml b/charts/apps/templates/schema-stable.yaml deleted file mode 100644 index 73c5e3e..0000000 --- a/charts/apps/templates/schema-stable.yaml +++ /dev/null @@ -1,15 +0,0 @@ -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 }} diff --git a/charts/apps/templates/stable.yaml b/charts/apps/templates/stable.yaml index e070509..969b59f 100644 --- a/charts/apps/templates/stable.yaml +++ b/charts/apps/templates/stable.yaml @@ -7,35 +7,38 @@ metadata: - resources-finalizer.argocd.argoproj.io spec: project: {{ default .Release.Namespace .Values.project }} - source: - repoURL: {{ .Values.source.repoURL }} - targetRevision: {{ .Values.source.targetRevision }} - path: {{ .Values.source.graph.path }} - helm: - valuesObject: - router: + sources: + - repoURL: {{ .Values.graph.repoURL }} + targetRevision: {{ .Values.graph.targetRevision }} + path: {{ .Values.graph.path }} + helm: + valuesObject: router: - configuration: - telemetry: - exporters: - metrics: - common: - resource: - "service.name": "router-stable" - otlp: - enabled: true - endpoint: 'graph-monitoring-opentelemetry-collector:4317' - protocol: grpc - tracing: - common: - resource: - "service.name": "router-stable" - otlp: - enabled: true - endpoint: 'graph-monitoring-opentelemetry-collector:4317' - protocol: grpc - propagation: - trace_context: true + router: + configuration: + telemetry: + exporters: + metrics: + common: + resource: + "service.name": "router-stable" + otlp: + enabled: true + endpoint: 'graph-monitoring-opentelemetry-collector:4317' + protocol: grpc + tracing: + common: + resource: + "service.name": "router-stable" + otlp: + enabled: true + endpoint: 'graph-monitoring-opentelemetry-collector:4317' + protocol: grpc + propagation: + trace_context: true + - repoURL: {{ .Values.schema.repoURL }} + chart: {{ .Values.schema.chart }} + targetRevision: {{ .Values.schema.targetRevision }} destination: name: {{ .Values.destination.name }} server: {{ .Values.destination.server }} diff --git a/charts/apps/values.yaml b/charts/apps/values.yaml index f10bf7c..40dea4e 100644 --- a/charts/apps/values.yaml +++ b/charts/apps/values.yaml @@ -1,18 +1,19 @@ project: "" -source: +monitoring: repoURL: https://github.com/DiamondLightSource/graph-federation targetRevision: HEAD - monitoring: - path: charts/monitoring - graph: - path: charts/graph + path: charts/monitoring + +graph: + repoURL: https://github.com/DiamondLightSource/graph-federation + targetRevision: HEAD + path: charts/graph schema: repoURL: ghcr.io/diamondlightsource/graph-federation-supergraph + targetRevision: 0.1.1 chart: supergraph - stableVersion: 0.1.1 - nightlyVersion: 0.1.1 destination: name: "" diff --git a/charts/graph/Chart.yaml b/charts/graph/Chart.yaml index 557e3e3..f867315 100644 --- a/charts/graph/Chart.yaml +++ b/charts/graph/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: graph description: The Diamond data Graph type: application -version: 0.9.0 +version: 0.9.1 dependencies: - name: router repository: oci://ghcr.io/apollographql/helm-charts