Compare commits
No commits in common. "deeeb103662849d25a33ed0ca26a10bc7b27cb39" and "1866faf8833168738ed19ef0563dfc101b13dcf9" have entirely different histories.
deeeb10366
...
1866faf883
@ -1,20 +0,0 @@
|
|||||||
# See https://pre-commit.com for more information
|
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
|
||||||
repos:
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
||||||
rev: v3.2.0
|
|
||||||
hooks:
|
|
||||||
- id: trailing-whitespace
|
|
||||||
- id: end-of-file-fixer
|
|
||||||
exclude: ^README.md$
|
|
||||||
- id: check-yaml
|
|
||||||
- id: check-added-large-files
|
|
||||||
- repo: https://github.com/rapidsai/frigate/
|
|
||||||
rev: v0.4.0
|
|
||||||
hooks:
|
|
||||||
- id: frigate
|
|
||||||
args:
|
|
||||||
- --output=README.rst
|
|
||||||
- --format=rst
|
|
||||||
- --no-credits
|
|
||||||
- --no-deps
|
|
57
README.md
57
README.md
@ -1,57 +0,0 @@
|
|||||||
|
|
||||||
Lib
|
|
||||||
===========
|
|
||||||
|
|
||||||
Common functions for my helm charts at home
|
|
||||||
|
|
||||||
|
|
||||||
## Configuration
|
|
||||||
|
|
||||||
The following table lists the configurable parameters of the Lib chart and their default values.
|
|
||||||
|
|
||||||
| Parameter | Description | Default |
|
|
||||||
| ------------------------ | ----------------------- | -------------- |
|
|
||||||
| `namespace` | namespace to install to | `"default"` |
|
|
||||||
| `controller.enabled` | should the main workload be included or not | `true` |
|
|
||||||
| `controller.type` | valid options are deployment, statefulset, job | `"deployment"` |
|
|
||||||
| `controller.replicas` | number of replicas | `1` |
|
|
||||||
| `image.repository` | container image name | `null` |
|
|
||||||
| `image.pullPolicy` | kubernetes pull policy | `null` |
|
|
||||||
| `image.tag` | Overrides the image tag whose default is the chart appVersion. | `""` |
|
|
||||||
| `fullnameOverride` | override the name of the helm release | `""` |
|
|
||||||
| `service.main.enabled` | | `false` |
|
|
||||||
| `service.main.type` | | `"ClusterIP"` |
|
|
||||||
| `service.main.annotations` | | `{}` |
|
|
||||||
| `service.main.labels` | | `{}` |
|
|
||||||
| `service.main.ports` | | `null` |
|
|
||||||
| `ingress.enabled` | | `false` |
|
|
||||||
| `ingress.service` | what service should the ingress target | `"main"` |
|
|
||||||
| `ingress.servicePort` | | `80` |
|
|
||||||
| `ingress.className` | | `""` |
|
|
||||||
| `ingress.annotations` | | `{}` |
|
|
||||||
| `ingress.hosts` | | `[{"host": "chart-example.local", "paths": [{"path": "/", "pathType": "ImplementationSpecific"}]}]` |
|
|
||||||
| `ingress.tls` | | `[]` |
|
|
||||||
| `resources` | | `{}` |
|
|
||||||
| `autoscaling.enabled` | | `false` |
|
|
||||||
| `autoscaling.minReplicas` | | `1` |
|
|
||||||
| `autoscaling.maxReplicas` | | `5` |
|
|
||||||
| `autoscaling.targetCPUUtilizationPercentage` | | `80` |
|
|
||||||
| `secrets` | Secrets that needs to be created | `{}` |
|
|
||||||
| `configs` | ConfigMaps that needs to be created | `{}` |
|
|
||||||
| `env` | environment variables the controller should have | `{}` |
|
|
||||||
| `volumes` | | `[]` |
|
|
||||||
| `volumeMounts` | | `[]` |
|
|
||||||
| `volumeClaimTemplates` | used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset | `[]` |
|
|
||||||
| `serviceAccount.create` | | `true` |
|
|
||||||
| `serviceAccount.automount` | | `true` |
|
|
||||||
| `serviceAccount.annotations` | | `{}` |
|
|
||||||
| `serviceAccount.name` | | `""` |
|
|
||||||
| `livenessProbe` | | `{}` |
|
|
||||||
| `readinessProbe` | | `{}` |
|
|
||||||
| `nodeSelector` | | `{}` |
|
|
||||||
| `tolerations` | | `[]` |
|
|
||||||
| `affinity` | | `{}` |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
50
values.yaml
50
values.yaml
@ -1,20 +1,24 @@
|
|||||||
---
|
---
|
||||||
namespace: default # namespace to install to
|
namespace: default
|
||||||
controller: # main workload
|
controller:
|
||||||
enabled: true # should the main workload be included or not
|
# -- enable the controller
|
||||||
type: deployment # valid options are deployment, statefulset, job
|
enabled: true
|
||||||
replicas: 1 # number of replicas
|
# type of controller
|
||||||
|
# valid options are deployment, statefulset, job
|
||||||
|
type: deployment
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: # container image name
|
repository:
|
||||||
pullPolicy: # kubernetes pull policy
|
pullPolicy:
|
||||||
tag: "" # Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
|
tag: ""
|
||||||
|
|
||||||
fullnameOverride: "" # override the name of the helm release
|
fullnameOverride: ""
|
||||||
|
|
||||||
service: # services that should be created
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: true
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
annotations: {}
|
annotations: {}
|
||||||
labels: {}
|
labels: {}
|
||||||
@ -42,7 +46,7 @@ service: # services that should be created
|
|||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
service: main # what service should the ingress target
|
service: main
|
||||||
#Service to target
|
#Service to target
|
||||||
servicePort: 80
|
servicePort: 80
|
||||||
className: ""
|
className: ""
|
||||||
@ -60,7 +64,8 @@ ingress:
|
|||||||
# hosts:
|
# hosts:
|
||||||
# - chart-example.local
|
# - chart-example.local
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
|
{}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
@ -79,26 +84,28 @@ autoscaling:
|
|||||||
targetCPUUtilizationPercentage: 80
|
targetCPUUtilizationPercentage: 80
|
||||||
# targetMemoryUtilizationPercentage: 80
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
|
||||||
secrets: {} # Secrets that needs to be created
|
# Secrets that needs to be created
|
||||||
|
secrets: {}
|
||||||
# secrets:
|
# secrets:
|
||||||
# <name>:
|
# <name>:
|
||||||
# type: #default Opaque
|
# type: #default Opaque
|
||||||
# annotations: {}
|
# annotations: {}
|
||||||
# labels: {}
|
# labels: {}
|
||||||
# env: false #should template load each key in the seacret as
|
# env: false #should template load each key in the seacret as
|
||||||
# data:
|
# data:
|
||||||
# KEY: VALUE
|
# KEY: VALUE
|
||||||
|
|
||||||
configs: {} # ConfigMaps that needs to be created
|
# ConfigMaps that needs to be created
|
||||||
|
configs: {}
|
||||||
# configs:
|
# configs:
|
||||||
# <name>:
|
# <name>:
|
||||||
# annotations: {}
|
# annotations: {}
|
||||||
# labels: {}
|
# labels: {}
|
||||||
# env: false #should template load each key in the seacret as
|
# env: false #should template load each key in the seacret as
|
||||||
# data:
|
# data:
|
||||||
# KEY: VALUE
|
# KEY: VALUE
|
||||||
|
|
||||||
env: {} # environment variables the controller should have
|
env: {}
|
||||||
|
|
||||||
# Additional volumes on the output Deployment definition.
|
# Additional volumes on the output Deployment definition.
|
||||||
volumes: []
|
volumes: []
|
||||||
@ -113,7 +120,8 @@ volumeMounts: []
|
|||||||
# mountPath: "/etc/foo"
|
# mountPath: "/etc/foo"
|
||||||
# readOnly: true
|
# readOnly: true
|
||||||
|
|
||||||
volumeClaimTemplates: [] # used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset
|
# used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset
|
||||||
|
volumeClaimTemplates: []
|
||||||
#volumeClaimTemplates:
|
#volumeClaimTemplates:
|
||||||
# - name: www
|
# - name: www
|
||||||
# mountPath: /var/www/html
|
# mountPath: /var/www/html
|
||||||
|
Loading…
Reference in New Issue
Block a user