# 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: "/"