X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-aux%2F80-Auxiliary-Functions%2Fhelm%2Fdashboard%2Ftemplates%2Fingress.yaml;fp=ric-xapps%2F90-xApps%2Fhelm%2Fxapp-std%2Ftemplates%2Fappenv.yaml;h=d6070364eac4101e441b03daf4f7afbbd023f4af;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=0d55f4e9151c3ec84ca1f29afc43044d92894a4a;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;p=it%2Fdep.git diff --git a/ric-xapps/90-xApps/helm/xapp-std/templates/appenv.yaml b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/ingress.yaml similarity index 72% rename from ric-xapps/90-xApps/helm/xapp-std/templates/appenv.yaml rename to ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/ingress.yaml index 0d55f4e9..d6070364 100644 --- a/ric-xapps/90-xApps/helm/xapp-std/templates/appenv.yaml +++ b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/ingress.yaml @@ -14,16 +14,20 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ -apiVersion: v1 -kind: ConfigMap +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress metadata: - name: {{ include "ricxapp.configmapname" . }}-appenv -data: - {{- if .Values.ricxapp.appenv }} - {{- toYaml .Values.ricxapp.appenv | nindent 2 }} - {{- end }} - DBAAS_SERVICE_HOST: "{{ .Values.ricplt.dbaasService }}" - DBAAS_SERVICE_PORT: "6379" - DBAAS_PORT_6379_TCP_ADDR: "{{ .Values.ricplt.dbaasService }}" - DBAAS_PORT_6379_TCP_PORT: "6379" - RMR_RTG_SVC: "{{ .Values.ricxapp.service.rmr.route.port }}" + name: {{ include "common.ingressname.dashboard" . }} +spec: + tls: + - hosts: + - {{ include "common.ingressurl.dashboard" . }} + secretName: secret-{{ include "common.name.dashboard" . }} + rules: + - host: {{ include "common.ingressurl.dashboard" . }} + http: + paths: + - backend: + serviceName: {{ include "common.servicename.dashboard.http" . }} + servicePort: http + path: "/"