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

Commit

Permalink
* chore(common): update chart version to v0.1.6
Browse files Browse the repository at this point in the history
* chore(common): disable startupProbe, readinessProbe and livenessProbe by default
* chore(common): remove unused tls secretName in ingress configuration
* chore(common): set isIngressRoute to false by default
* chore(common): remove persistence volumes configuration by default
  • Loading branch information
qjoly committed Jun 20, 2023
1 parent 154d943 commit a1862cd
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion charts/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ maintainers:
- name: QJOLY
email: [email protected]
name: common
version: v0.1.5
version: v0.1.6
appVersion: "0"
kubeVersion: ">= 1.18"
home: https://github.com/QJoly/generic-helm-template
Expand Down
86 changes: 43 additions & 43 deletions charts/common/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ ingress:
hostName: toto.lan
tls:
enabled: true
secretName: "my-pass"
secretName: ""
# For Ingress CRD
ingressClassName: istio
# For IngressRoute CRD
isIngressRoute: true
isIngressRoute: false
entrypoint: websecure
certResolver: mycertresolver # leave empty if you don't use, tls.enabled must be true and secretName must me empty

Expand All @@ -59,52 +59,52 @@ hpa:
avgCpuUtilization: 50

# startupProbe
startupProbeEnabled: true
startupProbe:
httpGet:
path: "/"
port: *containerPort
periodSeconds: 10
failureThreshold: 20
timeoutSeconds: 1
startupProbeEnabled: false
startupProbe: {}
# httpGet:
# path: "/"
# port: *containerPort
# periodSeconds: 10
# failureThreshold: 20
# timeoutSeconds: 1

# readinessProbe
readinessProbeEnabled: true
readinessProbe:
httpGet:
path: "/"
port: *containerPort
initialDelaySeconds: 20
periodSeconds: 30
failureThreshold: 2
timeoutSeconds: 3
readinessProbeEnabled: false
readinessProbe: {}
# httpGet:
# path: "/"
# port: *containerPort
# initialDelaySeconds: 20
# periodSeconds: 30
# failureThreshold: 2
# timeoutSeconds: 3

# livenessProbe
livenessProbeEnabled: true
livenessProbe:
enabled: true
httpGet:
path: "/"
port: *containerPort
initialDelaySeconds: 20
periodSeconds: 60
failureThreshold: 1
timeoutSeconds: 3
livenessProbeEnabled: false
livenessProbe: {}
# enabled: true
# httpGet:
# path: "/"
# port: *containerPort
# 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"
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 a1862cd

Please sign in to comment.