Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
fix: set adaptors default image pull policy
Browse files Browse the repository at this point in the history
  • Loading branch information
guangbochen authored and Frank Mai committed Jun 30, 2020
1 parent 7414998 commit 5bd52a1
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions adaptors/ble/deploy/e2e/all_in_one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ spec:
spec:
containers:
- image: cnrancher/octopus-adaptor-ble:master
imagePullPolicy: Always
name: octopus
securityContext:
privileged: true
Expand Down
1 change: 1 addition & 0 deletions adaptors/ble/deploy/manifests/workload/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
containers:
- name: octopus
image: cnrancher/octopus-adaptor-ble:master
imagePullPolicy: Always
securityContext:
privileged: true
volumeMounts:
Expand Down
1 change: 1 addition & 0 deletions adaptors/dummy/deploy/e2e/all_in_one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,7 @@ spec:
spec:
containers:
- image: cnrancher/octopus-adaptor-dummy:master
imagePullPolicy: Always
name: octopus
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
Expand Down
1 change: 1 addition & 0 deletions adaptors/dummy/deploy/manifests/workload/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
containers:
- name: octopus
image: cnrancher/octopus-adaptor-dummy:master
imagePullPolicy: Always
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
name: sockets
Expand Down
1 change: 1 addition & 0 deletions adaptors/modbus/deploy/e2e/all_in_one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,7 @@ spec:
spec:
containers:
- image: cnrancher/octopus-adaptor-modbus:master
imagePullPolicy: Always
name: octopus
securityContext:
privileged: true
Expand Down
1 change: 1 addition & 0 deletions adaptors/modbus/deploy/manifests/workload/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
containers:
- name: octopus
image: cnrancher/octopus-adaptor-modbus:master
imagePullPolicy: Always
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
name: sockets
Expand Down
1 change: 1 addition & 0 deletions adaptors/mqtt/deploy/e2e/all_in_one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ spec:
spec:
containers:
- image: cnrancher/octopus-adaptor-mqtt:master
imagePullPolicy: Always
name: octopus
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
Expand Down
1 change: 1 addition & 0 deletions adaptors/mqtt/deploy/manifests/workload/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
containers:
- name: octopus
image: cnrancher/octopus-adaptor-mqtt:master
imagePullPolicy: Always
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
name: sockets
Expand Down
1 change: 1 addition & 0 deletions adaptors/opcua/deploy/e2e/all_in_one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ spec:
spec:
containers:
- image: cnrancher/octopus-adaptor-opcua:master
imagePullPolicy: Always
name: octopus
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
Expand Down
1 change: 1 addition & 0 deletions adaptors/opcua/deploy/manifests/workload/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
containers:
- name: octopus
image: cnrancher/octopus-adaptor-opcua:master
imagePullPolicy: Always
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
name: sockets
Expand Down
2 changes: 1 addition & 1 deletion template/adaptor/deploy/e2e/all_in_one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
devices.edge.cattle.io/description: ""
devices.edge.cattle.io/device-property: '{"name":"string","dataType":"string","value":"string","updatedAt":"date"}'
devices.edge.cattle.io/enable: "true"
Expand Down Expand Up @@ -128,6 +127,7 @@ spec:
spec:
containers:
- image: cnrancher/octopus-adaptor-template:master
imagePullPolicy: Always
name: octopus
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
{}
creationTimestamp: null
name: templatedevices.devices.edge.cattle.io
spec:
Expand Down
1 change: 1 addition & 0 deletions template/adaptor/deploy/manifests/workload/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
containers:
- name: octopus
image: cnrancher/octopus-adaptor-template:master
imagePullPolicy: Always
volumeMounts:
- mountPath: /var/lib/octopus/adaptors/
name: sockets
Expand Down

0 comments on commit 5bd52a1

Please sign in to comment.