update jobs-expansions-index.md
change the wrong url change the wrong templatepull/2055/head
parent
67be6311ee
commit
78e7b40600
|
@ -109,7 +109,7 @@ Processing item cherry
|
|||
|
||||
In the first example, each instance of the template had one parameter, and that parameter was also
|
||||
used as a label. However label keys are limited in [what characters they can
|
||||
contain](docs/user-guide/labels/#syntax-and-character-set).
|
||||
contain](/docs/user-guide/labels/#syntax-and-character-set).
|
||||
|
||||
This slightly more complex example uses a the jinja2 template language to generate our objects.
|
||||
We will use a one-line python script to convert the template to a file.
|
||||
|
@ -128,7 +128,7 @@ First, copy and paste the following template of a Job object, into a file called
|
|||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: jobexample-{{ {{ name }} }}
|
||||
name: jobexample-{{ name }}
|
||||
labels:
|
||||
jobgroup: jobexample
|
||||
spec:
|
||||
|
|
Loading…
Reference in New Issue