Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a53d523dfd | |||
| 045abf81e2 | |||
| 8a9b998946 | |||
| 85012cfbca | |||
| 85c6423704 | |||
| ed4d3f032d | |||
| bff60e7514 | |||
| 560699c81d | |||
| 1926a6deb5 | |||
| 87272f4b45 | |||
|
18a293690e
|
|||
| fb7ba5d145 |
@@ -2,13 +2,8 @@ name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'build_*'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
env:
|
||||
REGISTRY: rgy.angels-dev.fr
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ name: bot_tamiseur
|
||||
|
||||
# Version du chart : doit changer si l'application change ou si la configuration du chart change
|
||||
#version: 1
|
||||
version: "1"
|
||||
version: "1.1.0"
|
||||
|
||||
# icon (optionnel) mais génère un warning avec "helm lint"
|
||||
icon: https://helm.sh/img/helm-logo.svg
|
||||
@@ -1,32 +1,48 @@
|
||||
{{- if .Values.ingress.enabled }}
|
||||
{{- $ingress := .Values.ingress -}}
|
||||
{{- if $ingress.enabled -}}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
{{- with $ingress.annotations }}
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: omegamaestro.{{ .Values.ingress.domain }}
|
||||
cert-manager.io/cluster-issuer: {{ .Values.ingress.issuer }}
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
||||
{{- if .Values.ingress.geoip }}
|
||||
nginx.ingress.kubernetes.io/server-snippet: |
|
||||
if ($lan = yes) { set $allowed_country yes; }
|
||||
if ($allowed_country = no) { return 451; }
|
||||
{{- range $key, $value := . }}
|
||||
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- range $key, $value := $ingress.labels }}
|
||||
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
ingressClassName: {{ .Values.ingress.class }}
|
||||
{{- if $ingress.ingressClassName }}
|
||||
ingressClassName: {{ $ingress.ingressClassName }}
|
||||
{{- end }}
|
||||
{{- if $ingress.tls }}
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.ingress.subdomain }}.{{ .Values.ingress.domain }}
|
||||
secretName: {{ .Release.Name }}-tls
|
||||
{{- range $ingress.tls }}
|
||||
- hosts:
|
||||
{{- range .hosts }}
|
||||
- {{ tpl . $ | quote }}
|
||||
{{- end }}
|
||||
{{- with .secretName }}
|
||||
secretName: {{ tpl . $ }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
rules:
|
||||
- host: "{{ .Values.ingress.subdomain }}.{{ .Values.ingress.domain }}"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: "{{ .Release.Name }}-{{ .Values.service.name }}"
|
||||
port:
|
||||
name: {{ .Values.service.name }}
|
||||
{{- end }}
|
||||
{{- range $ingress.rules }}
|
||||
- host: {{ tpl .host $ | quote }}
|
||||
http:
|
||||
paths:
|
||||
{{- range .paths }}
|
||||
- path: {{ tpl .path $ | quote }}
|
||||
pathType: {{ .pathType }}
|
||||
backend:
|
||||
service:
|
||||
name: "{{ .Release.Name }}-{{ .Values.service.name }}"
|
||||
port:
|
||||
name: {{ .Values.service.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
+23
-7
@@ -3,7 +3,7 @@ deployment:
|
||||
strategy: RollingUpdate
|
||||
image:
|
||||
repository: "rgy.angels-dev.fr/prod/bot_tamiseur"
|
||||
tag: "build_2025-06-10_01h49"
|
||||
tag: "build_2025-08-19_22h46"
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
NODE_ENV: "production"
|
||||
@@ -23,9 +23,25 @@ service:
|
||||
name: twurple
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
class: nginx
|
||||
subdomain: dcb-chantier.prd
|
||||
domain: angels-dev.fr
|
||||
issuer: letsencrypt-prod
|
||||
geoip: false
|
||||
# If `true`, an Ingress is created
|
||||
enabled: false
|
||||
# The name of the Ingress Class associated with this ingress
|
||||
ingressClassName: ""
|
||||
# Ingress annotations
|
||||
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: ""
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "bot_tamiseur",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bot_tamiseur",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"dependencies": {
|
||||
"@discord-player/extractor": "^7.1.0",
|
||||
"@discordjs/voice": "^0.18.0",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "bot_tamiseur",
|
||||
"description": "Listen to music and use fun commands with your friends!",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"author": {
|
||||
"name": "Zachary Guénot"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user