You've already forked athens-proxy-charts
fix(httpRoute): avoid Argo CD drift
The following patch avoids a drift in Argo CD. Argo CD detects the missing `group` of the backendRef.
This commit is contained in:
@@ -24,7 +24,8 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
- backendRefs:
|
- backendRefs:
|
||||||
- kind: Service
|
- group: ''
|
||||||
|
kind: Service
|
||||||
name: {{ include "athens-proxy.service.name" . }}
|
name: {{ include "athens-proxy.service.name" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
port: {{ .Values.service.port }}
|
port: {{ .Values.service.port }}
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ tests:
|
|||||||
- contains:
|
- contains:
|
||||||
path: spec.rules[0].backendRefs
|
path: spec.rules[0].backendRefs
|
||||||
content:
|
content:
|
||||||
|
group: ''
|
||||||
kind: Service
|
kind: Service
|
||||||
name: athens-proxy-unittest
|
name: athens-proxy-unittest
|
||||||
namespace: testing
|
namespace: testing
|
||||||
|
|||||||
Reference in New Issue
Block a user