Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: csviri <[email protected]>
  • Loading branch information
csviri committed Mar 29, 2024
1 parent 9334045 commit 4536ae5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/test/resources/sample/webpage/webpage.operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -77,6 +77,6 @@ spec:
pathType: Prefix
backend:
service:
name: "{{parent.metadata.name}}"
name: "{parent.metadata.name}"
port:
number: 80

0 comments on commit 4536ae5

Please sign in to comment.