diff --git a/kubernetes/main/apps/games/kustomization.yaml b/kubernetes/main/apps/games/kustomization.yaml index f0fed68296..f8f0b318e4 100644 --- a/kubernetes/main/apps/games/kustomization.yaml +++ b/kubernetes/main/apps/games/kustomization.yaml @@ -9,3 +9,4 @@ resources: # - ./core-keeper/ks.yaml - ./minecraft/ks.yaml # - ./palworld/ks.yaml + - ./space-engineers/ks.yaml diff --git a/kubernetes/main/apps/games/space-engineers/app/dnsendpoint.yaml b/kubernetes/main/apps/games/space-engineers/app/dnsendpoint.yaml new file mode 100644 index 0000000000..72e4b4a05e --- /dev/null +++ b/kubernetes/main/apps/games/space-engineers/app/dnsendpoint.yaml @@ -0,0 +1,14 @@ +--- +# yaml-language-server: $schema=https://kube-schemas.pages.dev/externaldns.k8s.io/dnsendpoint_v1alpha1.json +apiVersion: externaldns.k8s.io/v1alpha1 +kind: DNSEndpoint +metadata: + name: space-engineers +spec: + endpoints: + - dnsName: "space.${SECRET_DOMAIN}" + recordType: CNAME + targets: ["ipv4.${SECRET_DOMAIN}"] + providerSpecific: + - name: external-dns.alpha.kubernetes.io/cloudflare-proxied + value: 'false' diff --git a/kubernetes/main/apps/games/space-engineers/ks.yaml b/kubernetes/main/apps/games/space-engineers/ks.yaml new file mode 100644 index 0000000000..3d4dc2990d --- /dev/null +++ b/kubernetes/main/apps/games/space-engineers/ks.yaml @@ -0,0 +1,19 @@ +# yaml-language-server: $schema=https://kube-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: &app space-engineers + namespace: flux-system +spec: + targetNamespace: games + commonMetadata: + labels: + app.kubernetes.io/name: *app + path: ./kubernetes/main/apps/games/space-engineers/app + prune: true + sourceRef: + kind: GitRepository + name: home-kubernetes + wait: false # no flux ks dependents + interval: 30m + timeout: 5m