diff --git a/manifests/overlays/staging/deployment.yaml b/manifests/built/deployment.yaml similarity index 100% rename from manifests/overlays/staging/deployment.yaml rename to manifests/built/deployment.yaml diff --git a/manifests/overlays/staging/ingress.yaml b/manifests/built/ingress.yaml similarity index 88% rename from manifests/overlays/staging/ingress.yaml rename to manifests/built/ingress.yaml index a75fcf0..755af76 100644 --- a/manifests/overlays/staging/ingress.yaml +++ b/manifests/built/ingress.yaml @@ -11,7 +11,7 @@ metadata: nginx.ingress.kubernetes.io/auth-realm: "Protected area" spec: rules: - - host: locust.serve-dev.scilifelab.se #localhost + - host: locust.serve-dev.scilifelab.se http: paths: - pathType: Prefix @@ -20,7 +20,7 @@ spec: service: name: locust-service port: - number: 80 #8089 + number: 80 #ingressClassName: nginx tls: - hosts: diff --git a/manifests/built/namespace.yaml b/manifests/built/namespace.yaml new file mode 100644 index 0000000..c523ff4 --- /dev/null +++ b/manifests/built/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: locust diff --git a/manifests/built/pvc.yaml b/manifests/built/pvc.yaml new file mode 100644 index 0000000..d2a874d --- /dev/null +++ b/manifests/built/pvc.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: data-pvc + namespace: locust +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/manifests/overlays/staging/secret.yaml b/manifests/built/secret.yaml similarity index 79% rename from manifests/overlays/staging/secret.yaml rename to manifests/built/secret.yaml index e312149..1aac0a8 100644 --- a/manifests/overlays/staging/secret.yaml +++ b/manifests/built/secret.yaml @@ -9,5 +9,3 @@ data: SERVE_LOCUST_TEST_USER_PASS: cGFzc3dvcmQxMjM= SERVE_LOCUST_DO_CREATE_OBJECTS: ZmFsc2U= PROTECTED_PAGE_RELATIVE_URL: Y2hhbmdlLW1l - POSTGRES_PASSWORD: Q2JpNk42RWVSUGc2RTdC - TIMESCALEDB_TELEMETRY: b2Zm diff --git a/manifests/overlays/staging/service.yaml b/manifests/built/service.yaml similarity index 77% rename from manifests/overlays/staging/service.yaml rename to manifests/built/service.yaml index 1319340..7f3bdd2 100644 --- a/manifests/overlays/staging/service.yaml +++ b/manifests/built/service.yaml @@ -8,6 +8,6 @@ spec: app: locust ports: - protocol: TCP - port: 80 #8089 + port: 80 targetPort: 8089 - type: ClusterIP #NodePort + type: ClusterIP diff --git a/manifests/overlays/staging/kustomization.yaml b/manifests/overlays/staging/kustomization.yaml deleted file mode 100644 index e69de29..0000000