Skip to content

Commit

Permalink
feat: create space-engineers dnsendpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Dec 23, 2024
1 parent 45159d6 commit 15f6a68
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes/main/apps/games/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ resources:
# - ./core-keeper/ks.yaml
- ./minecraft/ks.yaml
# - ./palworld/ks.yaml
- ./space-engineers/ks.yaml
14 changes: 14 additions & 0 deletions kubernetes/main/apps/games/space-engineers/app/dnsendpoint.yaml
Original file line number Diff line number Diff line change
@@ -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'
19 changes: 19 additions & 0 deletions kubernetes/main/apps/games/space-engineers/ks.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 15f6a68

Please sign in to comment.