diff --git a/manifests/octopub-audits-mysql.yaml b/manifests/octopub-audits-mysql.yaml index 00eeb70..439809d 100644 --- a/manifests/octopub-audits-mysql.yaml +++ b/manifests/octopub-audits-mysql.yaml @@ -1,16 +1,3 @@ -apiVersion: v1 -kind: Service -metadata: - name: octopub-audit-cluster-ip -spec: - type: ClusterIP - selector: - component: auditservice - ports: - - port: 10000 - targetPort: 10000 - name: http-audit ---- apiVersion: apps/v1 kind: Deployment metadata: diff --git a/manifests/octopub-audits-service.yaml b/manifests/octopub-audits-service.yaml new file mode 100644 index 0000000..6899bac --- /dev/null +++ b/manifests/octopub-audits-service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: octopub-audit-cluster-ip +spec: + type: ClusterIP + selector: + component: auditservice + ports: + - port: 10000 + targetPort: 10000 + name: http-audit \ No newline at end of file diff --git a/manifests/octopub-frontend-service.yaml b/manifests/octopub-frontend-service.yaml new file mode 100644 index 0000000..7809d94 --- /dev/null +++ b/manifests/octopub-frontend-service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: octopub-frontend-cluster-ip +spec: + type: ClusterIP + selector: + component: web + ports: + - port: 8080 + targetPort: 8080 + name: http-port \ No newline at end of file diff --git a/manifests/octopub-frontend.yaml b/manifests/octopub-frontend.yaml index 9f61a08..211a7d1 100644 --- a/manifests/octopub-frontend.yaml +++ b/manifests/octopub-frontend.yaml @@ -1,16 +1,3 @@ -apiVersion: v1 -kind: Service -metadata: - name: octopub-frontend-cluster-ip -spec: - type: ClusterIP - selector: - component: web - ports: - - port: 8080 - targetPort: 8080 - name: http-port ---- apiVersion: apps/v1 kind: Deployment metadata: diff --git a/manifests/octopub-ingress.yaml b/manifests/octopub-ingress.yaml index 5fdfa21..8ac9f92 100644 --- a/manifests/octopub-ingress.yaml +++ b/manifests/octopub-ingress.yaml @@ -5,7 +5,7 @@ metadata: spec: ingressClassName: nginx rules: - - host: + - host: "" http: paths: - path: /api/audits @@ -42,4 +42,4 @@ spec: service: name: octopub-frontend-cluster-ip port: - name: http-web \ No newline at end of file + name: http-web diff --git a/manifests/octopub-products-mysql.yaml b/manifests/octopub-products-mysql.yaml index 7caea0e..a9c380f 100644 --- a/manifests/octopub-products-mysql.yaml +++ b/manifests/octopub-products-mysql.yaml @@ -1,16 +1,3 @@ -apiVersion: v1 -kind: Service -metadata: - name: octopub-productservice-cluster-ip -spec: - type: ClusterIP - selector: - component: productservice - ports: - - port: 8083 - targetPort: 8083 - name: http-product ---- apiVersion: apps/v1 kind: Deployment metadata: diff --git a/manifests/octopub-products-service.yaml b/manifests/octopub-products-service.yaml new file mode 100644 index 0000000..8194c5c --- /dev/null +++ b/manifests/octopub-products-service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: octopub-productservice-cluster-ip +spec: + type: ClusterIP + selector: + component: productservice + ports: + - port: 8083 + targetPort: 8083 + name: http-product \ No newline at end of file