update jobs-expansions-index.md

change the wrong url
change the wrong template
pull/2055/head
foliage 2016-12-27 22:34:14 +08:00 committed by GitHub
parent 67be6311ee
commit 78e7b40600
1 changed files with 2 additions and 2 deletions

View File

@ -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: