Compare commits

...

16 Commits

Author SHA1 Message Date
zachary 3b9ed2f244 Merge branch 'master' into develop 2026-03-27 14:45:47 +01:00
Zachary Guénot c9d68fa485 Merge branch 'develop' of https://git.zac.ovh/zachary/bot_Tamiseur into develop 2026-03-27 14:45:23 +01:00
Zachary Guénot 1d90756f11 Fix ingress root values 2026-03-27 14:45:20 +01:00
zachary bf2143c24a Merge pull request 'Fix ingress end' (#19) from develop into master
Reviewed-on: #19
2026-03-27 14:18:52 +01:00
zachary a53d523dfd Merge branch 'master' into develop 2026-03-27 14:18:45 +01:00
Zachary Guénot 045abf81e2 Merge branch 'develop' of https://git.zac.ovh/zachary/bot_Tamiseur into develop 2026-03-27 14:18:09 +01:00
Zachary Guénot 8a9b998946 Fix ingress end 2026-03-27 14:17:51 +01:00
zachary 85012cfbca Merge pull request 'Update helm chart values' (#18) from develop into master
Reviewed-on: #18
2026-03-27 14:00:37 +01:00
zachary 85c6423704 Merge branch 'master' into develop 2026-03-27 14:00:30 +01:00
Zachary Guénot ed4d3f032d Update helm chart values 2026-03-27 13:56:39 +01:00
Zachary Guénot bff60e7514 Merge pull request 'Prise en charge provider externaldns' (#17) from develop into master
Reviewed-on: #17
2025-11-01 01:00:22 +01:00
Zachary Guénot 560699c81d Merge branch 'master' into develop 2025-11-01 01:00:04 +01:00
Zachary Guénot 1926a6deb5 Prise en charge provider externaldns 2025-11-01 00:58:38 +01:00
Zachary Guénot 87272f4b45 Merge pull request 'Fix logs debug twitch' (#16) from develop into master
Reviewed-on: #16
2025-08-19 22:51:07 +02:00
Zachary Guénot 18a293690e Update version and workflow
Build and Push Docker Image / build-and-push (push) Successful in 4m22s
2025-08-19 22:46:05 +02:00
Zachary Guénot fb7ba5d145 Merge pull request 'Fix logs debug twitch' (#15) from fix/twitch-notif into develop
Reviewed-on: #15
2025-08-19 22:41:24 +02:00
6 changed files with 67 additions and 40 deletions
-5
View File
@@ -2,13 +2,8 @@ name: Build and Push Docker Image
on: on:
push: push:
branches:
- master
tags: tags:
- 'build_*' - 'build_*'
pull_request:
branches:
- master
env: env:
REGISTRY: rgy.angels-dev.fr REGISTRY: rgy.angels-dev.fr
+1 -1
View File
@@ -6,7 +6,7 @@ name: bot_tamiseur
# Version du chart : doit changer si l'application change ou si la configuration du chart change # Version du chart : doit changer si l'application change ou si la configuration du chart change
#version: 1 #version: 1
version: "1" version: "1.1.0"
# icon (optionnel) mais génère un warning avec "helm lint" # icon (optionnel) mais génère un warning avec "helm lint"
icon: https://helm.sh/img/helm-logo.svg icon: https://helm.sh/img/helm-logo.svg
+33 -17
View File
@@ -1,32 +1,48 @@
{{- if .Values.ingress.enabled }} {{- $ingress := .Values.ingress -}}
{{- if $ingress.enabled -}}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: {{ .Release.Name }} name: {{ $.Release.Name }}
{{- with $ingress.annotations }}
annotations: annotations:
external-dns.alpha.kubernetes.io/target: omegamaestro.{{ .Values.ingress.domain }} {{- range $key, $value := . }}
cert-manager.io/cluster-issuer: {{ .Values.ingress.issuer }} {{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
nginx.ingress.kubernetes.io/backend-protocol: "HTTP" {{- end }}
{{- if .Values.ingress.geoip }} {{- end }}
nginx.ingress.kubernetes.io/server-snippet: | labels:
if ($lan = yes) { set $allowed_country yes; } {{- range $key, $value := $ingress.labels }}
if ($allowed_country = no) { return 451; } {{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
ingressClassName: {{ .Values.ingress.class }} {{- if $ingress.ingressClassName }}
ingressClassName: {{ $ingress.ingressClassName }}
{{- end }}
{{- if $ingress.tls }}
tls: tls:
{{- range $ingress.tls }}
- hosts: - hosts:
- {{ .Values.ingress.subdomain }}.{{ .Values.ingress.domain }} {{- range .hosts }}
secretName: {{ .Release.Name }}-tls - {{ tpl . $ | quote }}
{{- end }}
{{- with .secretName }}
secretName: {{ tpl . $ }}
{{- end }}
{{- end }}
{{- end }}
rules: rules:
- host: "{{ .Values.ingress.subdomain }}.{{ .Values.ingress.domain }}" {{- range $ingress.rules }}
- host: {{ tpl .host $ | quote }}
http: http:
paths: paths:
- path: / {{- range .paths }}
pathType: Prefix - path: {{ tpl .path $ | quote }}
pathType: {{ .pathType }}
backend: backend:
service: service:
name: "{{ .Release.Name }}-{{ .Values.service.name }}" name: "{{ $.Release.Name }}-{{ $.Values.service.name }}"
port: port:
name: {{ .Values.service.name }} name: {{ $.Values.service.name }}
{{- end }} {{- end }}
{{- end }}
{{- end -}}
+23 -7
View File
@@ -3,7 +3,7 @@ deployment:
strategy: RollingUpdate strategy: RollingUpdate
image: image:
repository: "rgy.angels-dev.fr/prod/bot_tamiseur" repository: "rgy.angels-dev.fr/prod/bot_tamiseur"
tag: "build_2025-06-10_01h49" tag: "build_2025-08-19_22h46"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env: env:
NODE_ENV: "production" NODE_ENV: "production"
@@ -23,9 +23,25 @@ service:
name: twurple name: twurple
ingress: ingress:
enabled: true # If `true`, an Ingress is created
class: nginx enabled: false
subdomain: dcb-chantier.prd # The name of the Ingress Class associated with this ingress
domain: angels-dev.fr ingressClassName: ""
issuer: letsencrypt-prod # Ingress annotations
geoip: false annotations: {}
# Additional Ingress labels
labels: {}
# List of rules for the Ingress
rules:
-
# Ingress host
host: discord.example.com
# Paths for the host
paths:
- path: /
pathType: Prefix
# TLS configuration
tls: []
# - hosts:
# - discord.example.com
# secretName: ""
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "bot_tamiseur", "name": "bot_tamiseur",
"version": "4.0.0", "version": "4.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "bot_tamiseur", "name": "bot_tamiseur",
"version": "4.0.0", "version": "4.0.1",
"dependencies": { "dependencies": {
"@discord-player/extractor": "^7.1.0", "@discord-player/extractor": "^7.1.0",
"@discordjs/voice": "^0.18.0", "@discordjs/voice": "^0.18.0",
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "bot_tamiseur", "name": "bot_tamiseur",
"description": "Listen to music and use fun commands with your friends!", "description": "Listen to music and use fun commands with your friends!",
"version": "4.0.0", "version": "4.0.1",
"author": { "author": {
"name": "Zachary Guénot" "name": "Zachary Guénot"
}, },