add precommit hooks
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: generic-device-plugin
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
description: Generic Device Plugin
|
||||
keywords:
|
||||
- generic-device-plugin
|
||||
@@ -15,4 +15,4 @@ dependencies:
|
||||
- name: common
|
||||
repository: https://bjw-s.github.io/helm-charts/
|
||||
version: 3.5.1
|
||||
appVersion: 0.1.2
|
||||
appVersion: 0.1.3
|
||||
|
@@ -1,16 +1,42 @@
|
||||
## Introduction
|
||||
# generic-device-plugin
|
||||
|
||||
[Generic Device Plugin](https://github.com/squat/generic-device-plugin)
|
||||
 
|
||||
|
||||
The generic-device-plugin enables allocating generic Linux devices, such as serial devices, the FUSE device, or video cameras, to Kubernetes Pods.
|
||||
Generic Device Plugin
|
||||
|
||||
This chart bootstraps a [Generic Device Plugin](https://github.com/squat/generic-device-plugin) daemonset on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
## Maintainers
|
||||
|
||||
## Prerequisites
|
||||
| Name | Email | Url |
|
||||
| ---- | ------ | --- |
|
||||
| alexlebens | | |
|
||||
|
||||
- Kubernetes
|
||||
- Helm
|
||||
## Source Code
|
||||
|
||||
## Parameters
|
||||
* <https://github.com/squat/generic-device-plugin>
|
||||
* <https://github.com/bjw-s/helm-charts/tree/main/charts/library/common>
|
||||
|
||||
See the [values files](values.yaml).
|
||||
## Requirements
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://bjw-s.github.io/helm-charts/ | common | 3.5.1 |
|
||||
|
||||
## Values
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| config.data | string | See [values.yaml](./values.yaml) | generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage) |
|
||||
| config.enabled | bool | `true` | |
|
||||
| deviceDomain | string | `"squat.ai"` | |
|
||||
| image.pullPolicy | string | `"Always"` | |
|
||||
| image.repository | string | `"ghcr.io/squat/generic-device-plugin"` | |
|
||||
| image.tag | string | `"latest"` | |
|
||||
| name | string | `"generic-device-plugin"` | |
|
||||
| resources.limit.cpu | string | `"100m"` | |
|
||||
| resources.limit.memory | string | `"20Mi"` | |
|
||||
| resources.requests.cpu | string | `"50m"` | |
|
||||
| resources.requests.memory | string | `"10Mi"` | |
|
||||
| service.listenPort | int | `8080` | |
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{- include "bjw-s.common.loader.init" . }}
|
||||
{{ include "bjw-s.common.loader.init" . }}
|
||||
|
||||
{{- define "genericDevicePlugin.hardcodedValues" -}}
|
||||
{{ define "genericDevicePlugin.hardcodedValues" }}
|
||||
{{ if not .Values.global.nameOverride }}
|
||||
global:
|
||||
nameOverride: {{ .Values.name }}
|
||||
@@ -75,8 +75,8 @@ serviceMonitor:
|
||||
path: /metrics
|
||||
interval: 30s
|
||||
scrapeTimeout: 10s
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "genericDevicePlugin.hardcodedValues" . | fromYaml) -}}
|
||||
{{ end }}
|
||||
{{ $_ := mergeOverwrite .Values (include "genericDevicePlugin.hardcodedValues" . | fromYaml) }}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "bjw-s.common.loader.generate" . }}
|
||||
|
Reference in New Issue
Block a user