use .Release.Service
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-20 21:01:30 -08:00
parent 14baa5f32f
commit 9464d0208a
7 changed files with 8 additions and 8 deletions

View File

@ -42,6 +42,7 @@ spec:
url: https://strapi.piko.sbtp.xyz url: https://strapi.piko.sbtp.xyz
certIssuer: letsencrypt-staging certIssuer: letsencrypt-staging
hostname: strapi.futureporn.svc.cluster.local hostname: strapi.futureporn.svc.cluster.local
ingressClassName: traefik
realtime: realtime:
imageName: gitea.futureporn.net/futureporn/realtime:latest imageName: gitea.futureporn.net/futureporn/realtime:latest
adminEmail: cj@futureporn.net adminEmail: cj@futureporn.net

View File

@ -15,5 +15,4 @@ spec:
strapi: strapi:
url: https://strapi.sbtp.xyz url: https://strapi.sbtp.xyz
hostname: strapi.sbtp.xyz hostname: strapi.sbtp.xyz
ingressClassName: traefik
managedBy: Helm managedBy: Helm

View File

@ -1,4 +1,4 @@
{{ if eq .Values.managedBy "Helm" }} {{ if eq .Release.Service "Helm" }}
--- ---
apiVersion: v1 apiVersion: v1

View File

@ -1,4 +1,4 @@
{{ if eq .Values.managedBy "Helm" }} {{ if eq .Release.Service "Helm" }}
apiVersion: cert-manager.io/v1 apiVersion: cert-manager.io/v1
kind: ClusterIssuer kind: ClusterIssuer
metadata: metadata:

View File

@ -56,7 +56,7 @@ spec:
restartPolicy: OnFailure restartPolicy: OnFailure
{{ if eq .Values.managedBy "Helm" }} {{ if eq .Release.Service "Helm" }}
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
@ -64,7 +64,7 @@ metadata:
name: next name: next
namespace: futureporn namespace: futureporn
annotations: annotations:
kubernetes.io/ingress.class: nginx kubernetes.io/ingress.class: traefik
cert-manager.io/cluster-issuer: "{{ .Values.next.certIssuer }}" cert-manager.io/cluster-issuer: "{{ .Values.next.certIssuer }}"
spec: spec:
backend: backend:

View File

@ -1,4 +1,4 @@
{{ if eq .Values.managedBy "Helm" }} {{ if eq .Release.Service "Helm" }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role

View File

@ -170,7 +170,7 @@ spec:
{{ if eq .Values.managedBy "Helm" }} {{ if eq .Release.Service "Helm" }}
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
@ -179,7 +179,7 @@ metadata:
namespace: futureporn namespace: futureporn
annotations: annotations:
sbtp.xyz/managed-by: "{{ .Values.managedBy }}" sbtp.xyz/managed-by: "{{ .Values.managedBy }}"
kubernetes.io/ingress.class: nginx kubernetes.io/ingress.class: traefik
cert-manager.io/cluster-issuer: "{{ .Values.strapi.certIssuer }}" cert-manager.io/cluster-issuer: "{{ .Values.strapi.certIssuer }}"
spec: spec:
ingressClassName: "{{ .Values.strapi.ingressClassName }}" ingressClassName: "{{ .Values.strapi.ingressClassName }}"