Phase 1b: Deploy docs hosting with Quartz #85
6 changed files with 19 additions and 19 deletions
Rename quartz -> docs for service naming
Some checks failed
Build Container / build (push) Failing after 4s
Some checks failed
Build Container / build (push) Failing after 4s
The service is 'docs', quartz is just the container image used. This allows future quartz-based sites with different names. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
commit
56f5d1d682
|
|
@ -2,17 +2,17 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: quartz
|
||||
name: docs
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: ssh://forgejo@forge.ops.eblu.me:2222/eblume/blumeops.git
|
||||
targetRevision: main
|
||||
path: argocd/manifests/quartz
|
||||
path: argocd/manifests/docs
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: quartz
|
||||
namespace: docs
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: quartz-config
|
||||
namespace: quartz
|
||||
name: docs-config
|
||||
namespace: docs
|
||||
data:
|
||||
# BlumeOps docs release URL
|
||||
# Update this to deploy a new docs version
|
||||
|
|
@ -2,27 +2,27 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: quartz
|
||||
namespace: quartz
|
||||
name: docs
|
||||
namespace: docs
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: quartz
|
||||
app: docs
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: quartz
|
||||
app: docs
|
||||
spec:
|
||||
containers:
|
||||
- name: quartz
|
||||
- name: docs
|
||||
image: registry.ops.eblu.me/blumeops/quartz:v1.0.0
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: quartz-config
|
||||
name: docs-config
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: quartz-tailscale
|
||||
namespace: quartz
|
||||
name: docs-tailscale
|
||||
namespace: docs
|
||||
annotations:
|
||||
tailscale.com/proxy-class: "default"
|
||||
gethomepage.dev/enabled: "true"
|
||||
|
|
@ -12,12 +12,12 @@ metadata:
|
|||
gethomepage.dev/icon: "mdi-book-open-page-variant"
|
||||
gethomepage.dev/description: "BlumeOps Documentation"
|
||||
gethomepage.dev/href: "https://docs.ops.eblu.me"
|
||||
gethomepage.dev/pod-selector: "app=quartz"
|
||||
gethomepage.dev/pod-selector: "app=docs"
|
||||
spec:
|
||||
ingressClassName: tailscale
|
||||
defaultBackend:
|
||||
service:
|
||||
name: quartz
|
||||
name: docs
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: quartz
|
||||
namespace: docs
|
||||
resources:
|
||||
- configmap.yaml
|
||||
- deployment.yaml
|
||||
|
|
@ -2,11 +2,11 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: quartz
|
||||
namespace: quartz
|
||||
name: docs
|
||||
namespace: docs
|
||||
spec:
|
||||
selector:
|
||||
app: quartz
|
||||
app: docs
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
Loading…
Add table
Add a link
Reference in a new issue