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
|
||||
controller: # main workload
|
||||
enabled: true # should the main workload be included or not
|
||||
type: deployment # valid options are deployment, statefulset, job
|
||||
replicas: 1 # number of replicas
|
||||
namespace: default
|
||||
controller:
|
||||
# -- enable the controller
|
||||
enabled: true
|
||||
# type of controller
|
||||
# valid options are deployment, statefulset, job
|
||||
type: deployment
|
||||
replicas: 1
|
||||
|
||||
image:
|
||||
repository: # container image name
|
||||
pullPolicy: # kubernetes pull policy
|
||||
tag: "" # Overrides the image tag whose default is the chart appVersion.
|
||||
repository:
|
||||
pullPolicy:
|
||||
# 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:
|
||||
enabled: false
|
||||
enabled: true
|
||||
type: ClusterIP
|
||||
annotations: {}
|
||||
labels: {}
|
||||
@ -42,7 +46,7 @@ service: # services that should be created
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
service: main # what service should the ingress target
|
||||
service: main
|
||||
#Service to target
|
||||
servicePort: 80
|
||||
className: ""
|
||||
@ -60,7 +64,8 @@ ingress:
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
resources: {}
|
||||
resources:
|
||||
{}
|
||||
# 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
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
@ -79,26 +84,28 @@ autoscaling:
|
||||
targetCPUUtilizationPercentage: 80
|
||||
# targetMemoryUtilizationPercentage: 80
|
||||
|
||||
secrets: {} # Secrets that needs to be created
|
||||
# Secrets that needs to be created
|
||||
secrets: {}
|
||||
# secrets:
|
||||
# <name>:
|
||||
# <name>:
|
||||
# type: #default Opaque
|
||||
# annotations: {}
|
||||
# labels: {}
|
||||
# env: false #should template load each key in the seacret as
|
||||
# env: false #should template load each key in the seacret as
|
||||
# data:
|
||||
# KEY: VALUE
|
||||
|
||||
configs: {} # ConfigMaps that needs to be created
|
||||
# ConfigMaps that needs to be created
|
||||
configs: {}
|
||||
# configs:
|
||||
# <name>:
|
||||
# <name>:
|
||||
# annotations: {}
|
||||
# labels: {}
|
||||
# env: false #should template load each key in the seacret as
|
||||
# env: false #should template load each key in the seacret as
|
||||
# data:
|
||||
# KEY: VALUE
|
||||
|
||||
env: {} # environment variables the controller should have
|
||||
env: {}
|
||||
|
||||
# Additional volumes on the output Deployment definition.
|
||||
volumes: []
|
||||
@ -113,7 +120,8 @@ volumeMounts: []
|
||||
# mountPath: "/etc/foo"
|
||||
# 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:
|
||||
# - name: www
|
||||
# mountPath: /var/www/html
|
||||
|
Loading…
Reference in New Issue
Block a user