diff --git a/install/onprem/hyperdata/hyperdata/templates/ingress-hd.yaml b/install/onprem/hyperdata/hyperdata/templates/ingress-hd.yaml index 16ea342f..0ae83df5 100644 --- a/install/onprem/hyperdata/hyperdata/templates/ingress-hd.yaml +++ b/install/onprem/hyperdata/hyperdata/templates/ingress-hd.yaml @@ -30,11 +30,19 @@ spec: backend: serviceName: hyperdata-svc-hd servicePort: 8081 - {{ if and (eq .Values.customAddon.enabled true) ( .Values.customAddon.path) ( .Values.customAddon.externalPort) }} + {{ if and (eq .Values.customAddon.enabled true) ( .Values.customAddon.path) ( .Values.customAddon.externalPort) }} - http: - paths: - - path: {{ .Values.customAddon.path }} - backend: - serviceName: hyperdata-external-hd - servicePort: {{ .Values.customAddon.externalPort }} + paths: + - path: {{ .Values.customAddon.path }} + backend: + serviceName: hyperdata-external-hd + servicePort: {{ .Values.customAddon.externalPort }} + {{ end }} + {{ if (eq .Values.sqlEditor.enabled true) }} + - http: + paths: + - path: /tiberowebstudio/(.*) + backend: + serviceName: service-tibero-sd + servicePort: 8001 {{ end }} \ No newline at end of file diff --git a/install/onprem/hyperdata/hyperdata/values.yaml b/install/onprem/hyperdata/hyperdata/values.yaml index a251f6d0..658a8156 100644 --- a/install/onprem/hyperdata/hyperdata/values.yaml +++ b/install/onprem/hyperdata/hyperdata/values.yaml @@ -10,6 +10,13 @@ proxy: # minutes timeout: 1800 +cors: + enable: false + #쿠키, authorization 헤더정보를 브라우저에 전달하기 위한 옵션 + credential: false + #특정 도메인을 지정 할 수 있음 ex) localhost:8080 + allowed-origin: * + webserver: ip: 192.168.99.100 port: 31370 diff --git a/install/onprem/sqleditor/pod-sqleditor.yaml b/install/onprem/sqleditor/pod-sqleditor.yaml new file mode 100644 index 00000000..855f36f4 --- /dev/null +++ b/install/onprem/sqleditor/pod-sqleditor.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Pod +metadata: + labels: + app: tibero-sd + name: tibero-sd +spec: + containers: + - env: + - name: hostname + value: "tibero" + image: 192.168.179.31:5000/tbstudio_web:20220810 + name: tibero-con + securityContext: + privileged: true + ports: + - containerPort: 8000 + name: tbsd_lsnr + protocol: TCP + - containerPort: 3000 + name: tbsd_proxy + protocol: TCP + resources: + limits: + cpu: "4" + memory: 8Gi + requests: + cpu: "4" + memory: 8Gi diff --git a/install/onprem/sqleditor/service-sqleditor.yaml b/install/onprem/sqleditor/service-sqleditor.yaml new file mode 100644 index 00000000..0460e4ae --- /dev/null +++ b/install/onprem/sqleditor/service-sqleditor.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + name: service-tibero-sd +spec: + type: NodePort + selector: + app: tibero-sd + ports: + - name: tbsd-lsnr + nodePort: 30866 + port: 8001 + protocol: TCP + targetPort: 8000 + - name: tbsd-proxy + nodePort: 30804 + port: 3001 + protocol: TCP + targetPort: 3000