Skip to content

Commit 18994d0

Browse files
authored
Merge pull request #253 from jumpstarter-dev/metadata-example
Add dummy metadata to config examples
2 parents e6431b6 + 63ea8e2 commit 18994d0

File tree

9 files changed

+31
-1
lines changed

9 files changed

+31
-1
lines changed

__templates__/driver/examples/exporter.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
apiVersion: jumpstarter.dev/v1alpha1
22
kind: ExporterConfig
3+
metadata:
4+
namespace: default
5+
name: demo
36
endpoint: grpc.jumpstarter.192.168.0.203.nip.io:8082
47
token: "<token>"
58
export:

docs/source/cli/clients.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ file named `john.yaml`:
3232
```yaml
3333
apiVersion: jumpstarter.dev/v1alpha1
3434
kind: ClientConfig
35+
metadata:
36+
namespace: jumpstarter-lab
37+
name: john
3538
endpoint: grpc.jumpstarter.192.168.1.10.nip.io:8082
3639
token: <<token>>
3740
tls:

docs/source/cli/exporters.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ This creates an exporter named `my-exporter` and produces a YAML configuration f
2424
```yaml
2525
apiVersion: jumpstarter.dev/v1alpha1
2626
kind: ExporterConfig
27+
metadata:
28+
namespace: jumpstarter-lab
29+
name: my-exporter
2730
endpoint: grpc.jumpstarter.example.com:443
2831
token: <<token>>
2932

@@ -40,6 +43,9 @@ will provide a few mock interfaces to play with:
4043
```yaml
4144
apiVersion: jumpstarter.dev/v1alpha1
4245
kind: ExporterConfig
46+
metadata:
47+
namespace: default
48+
name: demo
4349
endpoint: grpc.jumpstarter.192.168.1.10.nip.io:8082
4450
token: <<token>>
4551
tls:

docs/source/getting-started/setup-local-client.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Create a text file with the following content
88
# /etc/jumpstarter/exporters/demo.yaml
99
apiVersion: jumpstarter.dev/v1alpha1
1010
kind: ExporterConfig
11+
metadata:
12+
namespace: default
13+
name: demo
1114
# endpoint and token are intentionally left empty
1215
endpoint: ""
1316
token: ""

docs/source/introduction/drivers.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ Here is an example exporter config that loads a driver:
2626
```yaml
2727
apiVersion: jumpstarter.dev/v1alpha1
2828
kind: ExporterConfig
29+
metadata:
30+
namespace: default
31+
name: demo
2932
endpoint: grpc.jumpstarter.example.com:443
3033
token: xxxxx
3134
export:

docs/source/introduction/exporters.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Here is an example Exporter config file:
2424
```yaml
2525
apiVersion: jumpstarter.dev/v1alpha1
2626
kind: ExporterConfig
27+
metadata:
28+
namespace: default
29+
name: demo
2730
endpoint: grpc.jumpstarter.example.com:443
2831
token: xxxxx
2932
export:

examples/soc-pytest/jumpstarter_example_soc_pytest/exporter.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
apiVersion: jumpstarter.dev/v1alpha1
22
kind: ExporterConfig
3+
metadata:
4+
namespace: default
5+
name: demo
36
endpoint: grpc.jumpstarter.example.com:443
47
token: xxxxx
58
export:
@@ -21,4 +24,4 @@ export:
2124
config:
2225
args:
2326
device: '/dev/v4l/by-path/pci-0000:00:14.0-usbv2-0:4:1.0-video-index0'
24-
resolution: 1280x720
27+
resolution: 1280x720

packages/jumpstarter-driver-dutlink/examples/exporter.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# /etc/jumpstarter/exporters/dutlink.yaml
22
apiVersion: jumpstarter.dev/v1alpha1
33
kind: ExporterConfig
4+
metadata:
5+
namespace: default
6+
name: demo
47
endpoint: ""
58
token: ""
69
export:

packages/jumpstarter-driver-tftp/examples/exporter.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
apiVersion: jumpstarter.dev/v1alpha1
22
kind: ExporterConfig
3+
metadata:
4+
namespace: default
5+
name: demo
36
endpoint: grpc.jumpstarter.192.168.0.203.nip.io:8082
47
token: "<token>"
58
export:

0 commit comments

Comments
 (0)