Skip to content

Commit 55aabde

Browse files
authored
Update README.md
1 parent cb9968e commit 55aabde

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,20 @@ spec:
6262
apiVersion: resourceglueoperator.sample/v1 # watches all the custom resource of type WebPage
6363
kind: WebPage
6464
resources:
65-
- name: html-config-map
65+
- name: htmlconfigmap
6666
resource:
6767
apiVersion: v1
6868
kind: ConfigMap
6969
metadata:
70-
name: "{{parent.metadata.name}}" # the parent resource (target webpage instance) can be referenced as "parent"
70+
name: "{parent.metadata.name}" # the parent resource (target webpage instance) can be referenced as "parent"
7171
data:
72-
index.html: "{{{parent.spec.html}}}" # adding the html from spec to a config map
72+
index.html: "{parent.spec.html}" # adding the html from spec to a config map
7373
- name: deployment
7474
resource:
7575
apiVersion: apps/v1
7676
kind: Deployment
7777
metadata:
78-
name: "{{parent.metadata.name}}"
78+
name: "{parent.metadata.name}"
7979
spec: # details omitted
8080
spec:
8181
containers:
@@ -87,13 +87,13 @@ spec:
8787
volumes:
8888
- name: html-volume
8989
configMap:
90-
name: "{{parent.metadata.name}}" # mounting the html using the config map to nginx server
90+
name: "{parent.metadata.name}" # mounting the html using the config map to nginx server
9191
- name: service
9292
resource:
9393
apiVersion: v1
9494
kind: Service
9595
metadata:
96-
name: "{{parent.metadata.name}}"
96+
name: "{parent.metadata.name}"
9797
spec: # Omitted details
9898
- name: ingress
9999
condition:
@@ -104,7 +104,7 @@ spec:
104104
apiVersion: networking.k8s.io/v1
105105
kind: Ingress
106106
metadata:
107-
name: "{{parent.metadata.name}}"
107+
name: "{parent.metadata.name}"
108108
# Omitted Details
109109
```
110110

0 commit comments

Comments
 (0)