Replace example from docs with pointer to dir
@@ -101,49 +101,6 @@ The behavior of storing the output is controlled by specifying the following par
- `secretLabels` - An optional map of labels which will be attached to the generated secret(s)
- `writeOnFailure` - if true, output is written even though the Job failed. (default: `false`)
-## Example Triggered ExtendedJob Resource
-
-```yaml
----
-apiVersion: fissile.cloudfoundry.org/v1alpha1
-kind: ExtendedJob
-metadata:
- name: MyExtendedJob
-spec:
- output:
- namePrefix: "myoutput-"
- writeOnFailure: true
- outputType: "json"
- secretLabels:
- foo: bar
- updateOnConfigChange: true
- triggers:
- when: ready
- selector:
- matchLabels:
- component: redis
- matchExpressions:
- - {key: tier, operator: In, values: [cache]}
- - {key: environment, operator: NotIn, values: [dev]}
-
- # Below you can see a template for a regular Job.
- # Nothing else is custom below this point.
- template:
- metadata:
- name: pi
- spec:
- template:
- spec:
- containers:
- - name: pi
- image: perl
- command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
- restartPolicy: Never
- env:
- - name: MY_ENV
- valueFrom:
- configMapKeyRef:
- name: foo-config
- key: special.how
- backoffLimit: 4
-```
+## Examples
+
+See https://github.com/cloudfoundry-incubator/cf-operator/tree/master/docs/examples/extended-job
