- name: "a1conf"
configMap:
name: "a1conf"
-
- {{- with .Values.nodeSelector }}
- nodeSelector:
- {{- toYaml . | nindent 8 }}
- {{- end }}
- {{- with .Values.affinity }}
- affinity:
- {{- toYaml . | nindent 8 }}
- {{- end }}
- {{- with .Values.tolerations }}
- tolerations:
- {{- toYaml . | nindent 8 }}
- {{- end }}
+# This is the service for A1's external facing HTTP API
apiVersion: v1
kind: Service
metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
---
-
+# This is the service for rmr between A1 and the xapps
apiVersion: v1
kind: Service
metadata:
selector:
app.kubernetes.io/name: {{ include "a1mediator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
+
+---
+# This is the service for the "hidden" port 4561 that rmr listens on for route manager
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ .Values.rmrrtemgrservice.name }}
+ labels:
+{{ include "a1mediator.labels" . | indent 4 }}
+
+spec:
+ type: {{ .Values.rmrrtemgrservice.type }}
+ ports:
+ - port: {{ .Values.rmrrtemgrservice.port }}
+ targetPort: {{ .Values.rmrrtemgrservice.port }}
+ protocol: TCP
+ selector:
+ app.kubernetes.io/name: {{ include "a1mediator.name" . }}
+ app.kubernetes.io/instance: {{ .Release.Name }}
username:
password:
+# This is the service for A1's external facing HTTP API
httpservice:
- port: 10000 ## dont change this!!
+ port: 10000 # This is hardcoded in a1, probably dangerous to change
type: ClusterIP
+# This is the service for rmr between A1 and the xapps
rmrservice:
name: rmrservice
- port: 4562 ## dont change this!!
+ port: 4562 # This is hardcoded in a1, probably dangerous to change
type: ClusterIP
+# This is the service for the "hidden" port 4561 that rmr listens on for route manager
+rmrrtemgrservice:
+ name: rmrrtemgrservice
+ port: 4561 # This is hardcoded in rmr, probably dangerous to change
+ type: ClusterIP
+
+# these are ENV variables that A1 takes; see docs
rmr_timeout_config:
rcv_retry_interval_ms: 500
rcv_retry_times: 20
+# These were generated by the helm template generator and have not been altered.
ingress:
enabled: false
annotations: {}