From 4536ae5a19e5991ae8dc5b15c3807be119ef7d11 Mon Sep 17 00:00:00 2001 From: csviri Date: Fri, 29 Mar 2024 21:17:08 +0100 Subject: [PATCH] wip Signed-off-by: csviri --- .../sample/webpage/webpage.operator.yaml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/test/resources/sample/webpage/webpage.operator.yaml b/src/test/resources/sample/webpage/webpage.operator.yaml index 8c4e3b9..4e7e34a 100644 --- a/src/test/resources/sample/webpage/webpage.operator.yaml +++ b/src/test/resources/sample/webpage/webpage.operator.yaml @@ -12,24 +12,24 @@ spec: apiVersion: v1 kind: ConfigMap metadata: - name: "{{parent.metadata.name}}" + name: "{parent.metadata.name}" data: - index.html: "{{{parent.spec.html}}}" + index.html: "{parent.spec.html}" - name: deployment resource: apiVersion: apps/v1 kind: Deployment metadata: - name: "{{parent.metadata.name}}" + name: "{parent.metadata.name}" spec: selector: matchLabels: - app: "{{parent.metadata.name}}" + app: "{parent.metadata.name}" replicas: 1 template: metadata: labels: - app: "{{parent.metadata.name}}" + app: "{parent.metadata.name}" spec: containers: - name: nginx @@ -42,16 +42,16 @@ spec: volumes: - name: html-volume configMap: - name: "{{parent.metadata.name}}" + name: "{parent.metadata.name}" - name: service resource: apiVersion: v1 kind: Service metadata: - name: "{{parent.metadata.name}}" + name: "{parent.metadata.name}" spec: selector: - app: "{{parent.metadata.name}}" + app: "{parent.metadata.name}" ports: - protocol: TCP port: 80 @@ -66,7 +66,7 @@ spec: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: "{{parent.metadata.name}}" + name: "{parent.metadata.name}" annotations: nginx.ingress.kubernetes.io/rewrite-target: /$1 spec: @@ -77,6 +77,6 @@ spec: pathType: Prefix backend: service: - name: "{{parent.metadata.name}}" + name: "{parent.metadata.name}" port: number: 80