diff --git a/apps/base/fp/kustomization.yaml b/apps/base/fp/kustomization.yaml new file mode 100644 index 0000000..c9b68af --- /dev/null +++ b/apps/base/fp/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: futureporn +resources: + - repository.yaml + - release.yaml diff --git a/apps/base/fp/release.yaml b/apps/base/fp/release.yaml new file mode 100644 index 0000000..e75fd78 --- /dev/null +++ b/apps/base/fp/release.yaml @@ -0,0 +1,42 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: fp + namespace: futureporn +spec: + releaseName: fp + chart: + spec: + chart: fp + sourceRef: + kind: HelmRepository + name: fp + interval: 50m + install: + remediation: + retries: -1 + values: + storageClassName: vultr-block-storage-hdd + link2cid: + containerName: gitea.futureporn.net/futureporn/link2cid:latest + scout: + containerName: gitea.futureporn.net/futureporn/scout:latest + pubsubServerUrl: https://realtime.futureporn.net/faye + next: + containerName: gitea.futureporn.net/futureporn/next:latest + certIssuer: letsencrypt-staging + hostname: next.sbtp.xyz + capture: + containerName: gitea.futureporn.net/futureporn/capture:latest + strapi: + containerName: sjc.vultrcr.com/fpcontainers/strapi + port: 1339 + url: https://portal.futureporn.net + certIssuer: letsencrypt-staging + hostname: strapi.sbtp.xyz + ingressClassName: nginx + managedBy: Helm + adminEmail: cj@futureporn.net + extraArgs: + - --dns01-recursive-nameservers-only + - --dns01-recursive-nameservers=8.8.8.8:53,1.1.1.1:53 \ No newline at end of file diff --git a/apps/base/fp/repository.yaml b/apps/base/fp/repository.yaml new file mode 100644 index 0000000..ce75a39 --- /dev/null +++ b/apps/base/fp/repository.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: fp + namespace: futureporn +spec: + interval: 1m + url: https://gitea.futureporn.net/futureporn/fp \ No newline at end of file diff --git a/apps/production/kustomization.yaml b/apps/production/kustomization.yaml index 080fc09..250944a 100644 --- a/apps/production/kustomization.yaml +++ b/apps/production/kustomization.yaml @@ -3,6 +3,7 @@ kind: Kustomization resources: - ../base/podinfo - ../base/windmill + - ../base/fp patches: - path: podinfo-values.yaml target: diff --git a/charts/fp/templates/uwu-ingress.yaml b/charts/fp/templates/uwu-ingress.yaml index bac4b28..36ba6e4 100644 --- a/charts/fp/templates/uwu-ingress.yaml +++ b/charts/fp/templates/uwu-ingress.yaml @@ -1,5 +1,5 @@ -## Utility ingress is used for several backend or development services. -## We do this to save money, as every ingress cost us $10/month +## Utility ingress (named uwu to make it non-specific) is used for several backend or development services. +## We do this to save money, as every VKE ingress cost us $10/month ## We route to different services by path