diff --git a/tobru-ch/ghost.yaml b/tobru-ch/deployment.yaml similarity index 86% rename from tobru-ch/ghost.yaml rename to tobru-ch/deployment.yaml index 6f26f7e..c834a42 100644 --- a/tobru-ch/ghost.yaml +++ b/tobru-ch/deployment.yaml @@ -65,20 +65,3 @@ spec: - name: data persistentVolumeClaim: claimName: data ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app: tobru-ch - name: ghost - namespace: tobru-ch -spec: - ports: - - port: 2368 - protocol: TCP - targetPort: 2368 - selector: - component: ghost - sessionAffinity: None - type: ClusterIP diff --git a/tobru-ch/ghost-service.yaml b/tobru-ch/ghost-service.yaml new file mode 100644 index 0000000..bc95647 --- /dev/null +++ b/tobru-ch/ghost-service.yaml @@ -0,0 +1,17 @@ +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: tobru-ch + name: ghost + namespace: tobru-ch +spec: + ports: + - port: 2368 + protocol: TCP + targetPort: 2368 + selector: + component: ghost + sessionAffinity: None + type: ClusterIP