Skip to content

Commit e116445

Browse files
authored
Update 16_templates.md
1 parent 3896adc commit e116445

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

101-lab/content/16_templates.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ Explore the new file that you just created called `template.yaml`
2929

3030
We're now looking to strip unique information generated by OpenShift from the YAML to allow it to be reusable. Search for each of these fields and remove their contents from your `template.yaml` then save it:
3131

32-
- annotations
33-
- status
34-
- clusterIP
35-
- clusterIPs
36-
- generation
37-
- uid
38-
- resourceVersion
39-
- creationTimestamp
40-
- volumeName
32+
- annotations:
33+
- status:
34+
- clusterIP:
35+
- clusterIPs:
36+
- generation:
37+
- uid:
38+
- resourceVersion:
39+
- creationTimestamp:
40+
- volumeName:
4141

4242
There is also [a script](https://github.com/BCDevOps/openshift-wiki/blob/master/docs/ArgoCD/get_ns_resources.sh) you can use to simplify the process of stripping out the auto-generated information from OpenShift in order to make a template.
4343

0 commit comments

Comments
 (0)