2 Commits

Author SHA1 Message Date
Josh Minor
1e13d49dbd Use main as tags for reuse action
Signed-off-by: Josh Minor <josh.minor@arm.com>
2022-11-08 16:56:16 -06:00
Josh Minor
c3d8868a43 Use common yaml for builds
Signed-off-by: Josh Minor <josh.minor@arm.com>
2022-11-08 16:02:31 -06:00
12 changed files with 13 additions and 18 deletions

View File

@@ -9,6 +9,3 @@ on:
jobs:
release:
uses: smarter-project/reusable-workflows/.github/workflows/smarter-org-helm.yml@main
secrets:
GPG_KEYRING_BASE64: ${{ secrets.GPG_KEYRING_BASE64 }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

View File

@@ -1,7 +1,5 @@
# Enables k8s containers to access devices (linux device drivers) available on nodes
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/smarter-device-manager)](https://artifacthub.io/packages/search?repo=smarter-device-manager)
## Motivation
In the IoT world, interaction with the external environment is the reason of existence.
@@ -139,7 +137,7 @@ More than one smarter-device-manager can be used in a single node if required if
## Enabling Access
A few examples of yaml files are provided that enable the smarter-device-manager to be deployed in a node. The file smarter-device-management-pod-<>.yaml deploys a single pod on a node; this setup is useful for testing. The file smarter-device-manager-<>.yaml provides a deamonSet configuration that enables pods to be deployed in any node that contains the "smarter-device-manager=enabled" label. The following command inserts the daemonSet in Kubernetes. Use the k8s for k8s/k3s/k0s unless using k3s version lower than 1.18. K3s smaller then 1.18 put the unix sockets for the device plugin in different directories on the node so the \*-k3s.yaml files should be used on k3s for those versions.
A few examples of yaml files are provided that enable the smarter-device-manager to be deployed in a node. The file smarter-device-management-pod-<>.yaml deploys a single pod on a node; this setup is useful for testing. The file smarter-device-manager-<>.yaml provides a deamonSet configuration that enables pods to be deployed in any node that contains the "smarter-device-manager=enabled" label. The following command inserts the daemonSet in Kubernetes. k3s and k8s put the unix sockets for the device plugin in different directories on the node so the \*-k8s.yaml files should be used on Kubernetes and the \*-k3s.yaml should be used on k3s.
```
kubectl apply -f smarter-device-manager.yaml

View File

@@ -2,8 +2,8 @@ apiVersion: v2
name: smarter-device-manager
description: smarter-device-manager chart for SMARTER edge devices
home: https://getsmarter.io
version: 0.0.9
appVersion: v1.20.12
version: 0.0.7
appVersion: v1.20.11
kubeVersion: ">=1.16.0-0"
keywords:
- kubernetes
@@ -11,7 +11,7 @@ keywords:
- hardware
sources:
- https://github.com/smarter-project/smarter-device-manager
icon: https://github.com/smarter-project/documentation/raw/main/ARM1636_Project_Logo_ST2_RGB_V1.png
icon: https://gitlab.com/uploads/-/system/group/avatar/59012546/ARM1636_Project_Logo_ST2_RGB_V1.png
annotations:
artifacthub.io/changes: |
- Fix template

View File

@@ -15,7 +15,7 @@ spec:
nodeName: smarter-jetson-xavier-4bcc2584
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false

View File

@@ -15,7 +15,7 @@ spec:
nodeName: <replace with node to run>
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false

View File

@@ -15,7 +15,7 @@ spec:
nodeName: <replace with node to run>
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false