Skip to content

Commit

Permalink
Merge pull request #35 from JacekZubielik/uptime-kuma
Browse files Browse the repository at this point in the history
fix: args Values.service.httpPort
  • Loading branch information
JacekZubielik authored May 22, 2024
2 parents f0849d0 + cb881da commit 7703288
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 41 deletions.
2 changes: 1 addition & 1 deletion charts/uptime-kuma/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 1.23.11
description: Monitoring tool
name: uptime-kuma
version: 0.0.2
version: 0.0.3
keywords:
- uptime-kuma
type: application
Expand Down
2 changes: 1 addition & 1 deletion charts/uptime-kuma/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spec:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "app.fullname" . }}:{{ .Values.service.port }}']
args: ['{{ include "app.fullname" . }}:{{ .Values.service.httpPort }}']
restartPolicy: Never
63 changes: 24 additions & 39 deletions charts/uptime-kuma/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ fullnameOverride: ""
revisionHistoryLimit: 4
hostNetwork: false

# strategyType: RollingUpdate

replicas: 1
updateStrategy:
type: RollingUpdate
Expand All @@ -30,12 +28,11 @@ serviceAccount:
podAnnotations: {}
podLabels: {}

extraEnv:
{}
# - name: "UPTIME_KUMA_PORT"
# value: "3001"
extraEnv: {}
# - name: "UPTIME_KUMA_PORT"
# value: "3001"

extraEnvSecrets:
extraEnvSecrets: {}
# This will set ${MQTT_PASSWORD} to the 'password' key from the 'mqtt' secret
# MQTT_PASSWORD:
# secret: mqtt
Expand Down Expand Up @@ -105,15 +102,15 @@ monitoring:
# optional:

livenessProbe:
enabled: true
enabled: false
scheme: HTTP
periodSeconds: 60
timeoutSeconds: 10
successThreshold: 1
failureThreshold: 6
initialDelaySeconds: 30
readinessProbe:
enabled: true
enabled: false
scheme: HTTP
periodSeconds: 60
timeoutSeconds: 10
Expand All @@ -123,34 +120,23 @@ readinessProbe:

ingress:
enabled: false
# className: ""
annotations:
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
nginx.ingress.kubernetes.io/server-snippets: |
location / {
proxy_set_header Upgrade $http_upgrade;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_cache_bypass $http_upgrade;
}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
labels: {}
path: /
hosts:
- host: uptime-kuma.local
paths:
- path: /
pathType: ImplementationSpecific
tls:
[]
# - secretName: letsencrypt-staging
# hosts:
# - uptime-kuma.local
- chart-example.local
## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
extraPaths: []
# - path: /*
# backend:
# serviceName: ssl-redirect
# servicePort: use-annotation
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

resources: {}
# requests:
Expand All @@ -160,15 +146,14 @@ resources: {}
# cpu: "1"
# memory: "512Mi"

nodeSelector:
kubernetes.io/hostname: {}
nodeSelector: {}
affinity: {}
tolerations: []

persistence:
enabled: false
configstorage:
hostPath: /mnt/volume-0/apps/uptime-kuma
hostPath: {}
pvc:
enabled: false
# accessModes:
Expand Down

0 comments on commit 7703288

Please sign in to comment.