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
certIssuer: letsencrypt-staging
hostname: strapi.futureporn.svc.cluster.local
ingressClassName: traefik
realtime:
imageName: gitea.futureporn.net/futureporn/realtime:latest
adminEmail: cj@futureporn.net

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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