Skip to content
This repository has been archived by the owner on Jul 30, 2023. It is now read-only.

Commit

Permalink
add: Prezvim (#30)
Browse files Browse the repository at this point in the history
* CI: Run helm dependency build during tests

* prezvim: Init at 0.1.0

* prezvim: fix chart.yaml with rights metadatas

* prezvim: error in values.yaml, ingress.enabled can't be true in CI
  • Loading branch information
qjoly authored Jun 20, 2023
1 parent 70f9bb2 commit de47bb1
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 0 deletions.
24 changes: 24 additions & 0 deletions charts/prezvim/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
apiVersion: v2
appVersion: 0.8.0
description: PrezVim is a french presentation to introduce Vim to new users.
name: PrezVim
version: 5.1.2
kubeVersion: ">=1.16.0-0"
keywords:
- cyberprez
- vim
- presentation
- french
home: https://vim.avec.une-tasse-de.cafe/
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Vimlogo.svg/langfr-150px-Vimlogo.svg.png
sources:
- https://github.com/qjoly/prezvim
maintainers:
- email: [email protected]
name: QJOLY
url: https://thebidouilleur.xyz
dependencies:
- name: common
repository: https://qjoly.github.io/helm-charts/
version: v0.1.0
103 changes: 103 additions & 0 deletions charts/prezvim/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
common:
app:
servicePort: 80
containerPort: 80

# deployment
deployment:
memoryRequest: null
cpuRequest: null
memoryLimit: null
cpuLimit: null
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%

# container
image:
repository:
name: null
isPrivate: false
secretName: null
name: qjoly/prezvim
tag: latest
pullPolicy: Always

# ingress
ingress:
enabled: false
hostName: vim.thoughtless.eu
tls:
enabled: true
secretName: ""
# For Ingress CRD
ingressClassName: istio
# For IngressRoute CRD
isIngressRoute: true
entrypoint: websecure
certResolver: letsencrypt # leave empty if you don't use, tls.enabled must be true and secretName must me empty


# env variables
variables:
secret: {}
# user: "qjoly"
# password: "hugepassword"
nonSecret: {}
# author: qjoly
# app: 1

# horizontal autoscaler
hpa:
enabled: false
minReplicas: 1
maxReplicas: 2
avgCpuUtilization: 50

# startupProbe
startupProbe:
enabled: false
httpGet:
path: "/"
periodSeconds: 10
failureThreshold: 20
timeoutSeconds: 1

# readinessProbe
readinessProbe:
enabled: true
httpGet:
path: "/"
initialDelaySeconds: 20
periodSeconds: 30
failureThreshold: 2
timeoutSeconds: 3

# livenessProbe
livenessProbe:
enabled: true
httpGet:
path: "/"
initialDelaySeconds: 20
periodSeconds: 60
failureThreshold: 1
timeoutSeconds: 3

persistence:
enabled: false
volumes:
- name: "data"
storageClassName: "longhorn" # leave empty if you want to use default
size: "5Gi" # We recommend to allocate a minimum of 1GB if you do not use attachments
pvcClaim: "" # leave empty unless if you want to use an existing PVC
containerMount: "/data"
- name: "logs"
storageClassName: "" # leave empty if you want to use default
size: "1Gi" # We recommend to allocate a minimum of 1GB if you do not use attachments
pvcClaim: "" # leave empty unless if you want to use an existing PVC
containerMount: "/var/log"
- name: "temp"
pvcClaim: "existing" # leave empty unless if you want to use an existing PVC
containerMount: "/testest"

0 comments on commit de47bb1

Please sign in to comment.