for component in $RICPLT_COMPONENTS; do
echo "Preparing chart for comonent $component"
- if [ $component = "kong-platform" ]; then
+ if [ $component = "kong-platform" ]; then
+ mkdir -p $DIR/../helm/$component/charts
helm dep up $DIR/../helm/$component
helm install --namespace ricplt --name "${RELEASE_NAME}-$component" $DIR/../helm/$component --set postgresql.enabled=false --set env.database=off
continue
fi
- if [ $component = "kong-xapp" ]; then
+ if [ $component = "kong-xapp" ]; then
+ mkdir -p $DIR/../helm/$component/charts
helm dep up $DIR/../helm/$component
helm install --namespace ricxapp --name "${RELEASE_NAME}-$component" $DIR/../helm/$component --set postgresql.enabled=false --set env.database=off
continue
paths:
- path: /a1mediator
backend:
- serviceName: {{ include "a1mediator.fullname" . }}
- servicePort: {{ .Values.httpservice.port }}
\ No newline at end of file
+ serviceName: {{ include "common.servicename.a1mediator" . }}
+ servicePort: {{ .Values.httpservice.port }}
release: {{ .Release.Name }}
spec:
hostname: {{ .Chart.Name }}
+ hostAliases:
+ - ip: "137.135.91.204"
+ hostnames:
+ - "snapshot.helm.ranco-dev-tools.eastus.cloudapp.azure.com"
imagePullSecrets:
- name: {{ include "common.repositoryCred" . }}
containers:
paths:
- path: /appmgr
backend:
- serviceName: {{ include "appmgr.fullname" . }}
- servicePort: {{ .Values.appmgr.service.port }}
\ No newline at end of file
+ serviceName: {{ include "common.servicename.appmgr" . }}
+ servicePort: {{ .Values.appmgr.service.port }}
{{- end -}}
{{- define "common.servicename.dbaas" -}}
- {{- $name := ( include "common.fullname.dbaas" . ) -}}
+ {{- $name := ( include "common.name.dbaas" . ) -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+++ /dev/null
-apiVersion: extensions/v1beta1
-kind: Ingress
-metadata:
- name: ric-ingress-xapp
-spec:
- rules:
- - http:
- paths:
- - path: /anr
- backend:
- serviceName: r0-xapp-anr
- servicePort: 9999
\ No newline at end of file