Skip to content

Commit bcf6197

Browse files
Update device sample to new provisioning api
Follow-up of #140
1 parent f71555b commit bcf6197

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

config/samples/v1alpha1_device.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ spec:
1313
address: 192.168.5.2:9339
1414
secretRef:
1515
name: secret-basic-auth
16-
bootstrap:
17-
# The bootstrap configuration can also be defined in a ConfigMap or Secret as follows:
18-
# template:
19-
# secretRef:
20-
# name: leaf1-bootstrap
21-
# key: setup.cfg
22-
# --- or ---
23-
# template:
24-
# configMapRef:
25-
# name: leaf1-bootstrap
26-
# key: setup.cfg
27-
# --- or ---
28-
template:
29-
inline: |
30-
hostname leaf1
31-
feature grpc
32-
grpc port 9339
16+
# provisioning:
17+
# The bootstrap configuration can be defined in a ConfigMap, Secret or inline as follows:
18+
# bootScript:
19+
# secretRef:
20+
# name: leaf1-bootstrap
21+
# key: setup.cfg
22+
# --- or ---
23+
# bootScript:
24+
# configMapRef:
25+
# name: leaf1-bootstrap
26+
# key: setup.cfg
27+
# --- or ---
28+
# bootScript:
29+
# inline: |
30+
# hostname leaf1
31+
# feature grpc
32+
# grpc port 9339
3333
---
3434
apiVersion: v1
3535
kind: Secret

0 commit comments

Comments
 (0)