Modifed templates to read notations for ocp routes

Modified route annotations for anm, apimgr, apitraffic and oath for cert-manager in values-override.yaml
Removed ingress from values-override.yaml
Fixed manual pv yaml paths
This commit is contained in:
2025-11-19 18:27:05 +08:00
parent 87db1a9aab
commit 0a203fc035
13 changed files with 196 additions and 804 deletions

View File

@@ -6,6 +6,10 @@ metadata:
labels:
{{- include "gateway.labels" . | nindent 4 }}
app.kubernetes.io/component: aga
annotations:
{{- with .Values.aga.route.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.global.domainName }}
host: aga.{{ .Values.global.domainName }}

View File

@@ -7,6 +7,10 @@ metadata:
labels:
{{- include "gateway.labels" . | nindent 4 }}
app.kubernetes.io/component: anm
annotations:
{{- with .Values.anm.route.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.global.domainName }}
host: anm.{{ .Values.global.domainName }}

View File

@@ -6,6 +6,10 @@ metadata:
labels:
{{- include "gateway.labels" . | nindent 4 }}
app.kubernetes.io/component: apimgr
annotations:
{{- with .Values.apimgr.route.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.global.domainName }}
host: apimgr.{{ .Values.global.domainName }}

View File

@@ -6,6 +6,10 @@ metadata:
labels:
{{- include "gateway.labels" . | nindent 4 }}
app.kubernetes.io/component: apiportal
annotations:
{{- with .Values.apiportal.route.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
to:
kind: Service

View File

@@ -6,6 +6,10 @@ metadata:
labels:
{{- include "gateway.labels" . | nindent 4 }}
app.kubernetes.io/component: apitraffic
annotations:
{{- with .Values.apitraffic.route.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.global.domainName }}
host: apitraffic.{{ .Values.global.domainName }}

View File

@@ -6,6 +6,10 @@ metadata:
labels:
{{- include "gateway.labels" . | nindent 4 }}
app.kubernetes.io/component: oauth
annotations:
{{- with .Values.apitraffic.oauth.route.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.global.domainName }}
host: oauth.{{ .Values.global.domainName }}