Skip to content

Commit

Permalink
chore(apps): deploy mermaid2svg
Browse files Browse the repository at this point in the history
  • Loading branch information
invakid404 committed Jul 27, 2024
1 parent dead85a commit dead70a
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 0 deletions.
32 changes: 32 additions & 0 deletions apps/mermaid2svg/helmrelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: mermaid2svg
namespace: apps
spec:
interval: 10m0s
chart:
spec:
chart: ./charts/mermaid2svg
version: 1.0.5
interval: 10m0s
sourceRef:
kind: GitRepository
name: mermaid2svg
namespace: core

values:
image:
name: ghcr.io/invakid404/mermaid2svg
pullPolicy: IfNotPresent
tag: sha-deadc27@sha256:ee45ca13122b5312d892be0889dede6fe37718e8c7363a61974d9fce0b1d9bc7
ingress:
enabled: true
className: "tailscale"
annotations:
hosts:
- &mermaid2svg-host "mermaid2svg.${TAILSCALE_DOMAIN}"
tls:
- hosts:
- *mermaid2svg-host
4 changes: 4 additions & 0 deletions apps/mermaid2svg/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
1 change: 1 addition & 0 deletions clusters/styx/apps/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ resources:
- ./outline.yaml
- ./flaresolverr.yaml
- ./miniflux.yaml
- ./mermaid2svg.yaml
25 changes: 25 additions & 0 deletions clusters/styx/apps/mermaid2svg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: mermaid2svg
namespace: flux-system
spec:
interval: 10m0s
sourceRef:
kind: GitRepository
name: flux-system
path: ./apps/mermaid2svg
prune: true
wait: true
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-config
- kind: Secret
name: cluster-secrets
decryption:
provider: sops
secretRef:
name: sops-gpg
dependsOn:
- name: apps-base
1 change: 1 addition & 0 deletions core/helm-repos/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ resources:
- ./arc.yaml
- ./nfs.yaml
- ./synology-csi.yaml
- ./mermaid2svg.yaml
10 changes: 10 additions & 0 deletions core/helm-repos/mermaid2svg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: mermaid2svg
namespace: core
spec:
interval: 10m0s
url: https://github.com/invakid404/mermaid2svg
ref:
branch: master

0 comments on commit dead70a

Please sign in to comment.