this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor(homelab-docs): migrate to new convention

+98 -93
+98
apps/homelab-docs.yaml
··· 1 + apiVersion: argoproj.io/v1alpha1 2 + kind: Application 3 + metadata: 4 + finalizers: 5 + - resources-finalizer.argocd.argoproj.io 6 + name: homelab-docs 7 + spec: 8 + destination: 9 + name: in-cluster 10 + namespace: homelab-docs 11 + project: default 12 + syncPolicy: 13 + automated: 14 + prune: true 15 + selfHeal: true 16 + syncOptions: 17 + - CreateNamespace=true 18 + - ApplyOutOfSyncOnly=true 19 + - ServerSideApply=true 20 + source: 21 + repoURL: https://bjw-s-labs.github.io/helm-charts 22 + chart: app-template 23 + targetRevision: 3.7.3 24 + helm: 25 + valuesObject: 26 + defaultPodOptions: 27 + labels: 28 + "istio.io/dataplane-mode": "ambient" 29 + controllers: 30 + main: 31 + containers: 32 + nginx: 33 + image: 34 + repository: nginx 35 + tag: latest 36 + probes: 37 + readiness: 38 + enabled: true 39 + custom: true 40 + spec: 41 + httpGet: 42 + path: / 43 + port: 80 44 + initialDelaySeconds: 3 45 + periodSeconds: 3 46 + build: 47 + image: 48 + repository: nixos/nix 49 + tag: latest 50 + workingDir: /usr/local/src 51 + command: 52 + - /bin/sh 53 + - -c 54 + args: 55 + - | 56 + nix-shell -p git --command 'git clone https://github.com/khuedoan/homelab .' 57 + 58 + while true; do 59 + nix-shell -p python311Packages.mkdocs-material --command 'mkdocs build' 60 + cp -RT ./site /usr/share/nginx/html 61 + sleep 120 62 + nix-shell -p git --command 'git fetch origin' 63 + nix-shell -p git --command 'git reset --hard origin/master' 64 + done 65 + service: 66 + main: 67 + controller: main 68 + ports: 69 + http: 70 + port: 80 71 + protocol: HTTP 72 + ingress: 73 + main: 74 + enabled: true 75 + className: nginx 76 + annotations: 77 + cert-manager.io/cluster-issuer: letsencrypt-prod 78 + hosts: 79 + - host: homelab.khuedoan.com 80 + paths: 81 + - path: / 82 + pathType: ImplementationSpecific 83 + service: 84 + identifier: main 85 + port: http 86 + tls: 87 + - hosts: 88 + - homelab.khuedoan.com 89 + secretName: homelab-docs-tls-certificate 90 + persistence: 91 + source: 92 + type: emptyDir 93 + globalMounts: 94 + - path: /usr/local/src 95 + static: 96 + type: emptyDir 97 + globalMounts: 98 + - path: /usr/share/nginx/html
-55
apps/homelab-docs/deployment.yaml
··· 1 - apiVersion: apps/v1 2 - kind: Deployment 3 - metadata: 4 - labels: 5 - app: homelab-docs 6 - name: homelab-docs 7 - namespace: homelab-docs 8 - spec: 9 - selector: 10 - matchLabels: 11 - app: homelab-docs 12 - template: 13 - metadata: 14 - labels: 15 - app: homelab-docs 16 - spec: 17 - containers: 18 - - name: nginx 19 - image: nginx:latest 20 - volumeMounts: 21 - - name: static 22 - mountPath: /usr/share/nginx/html 23 - - name: build 24 - image: nixos/nix:latest 25 - workingDir: /usr/local/src 26 - command: 27 - - /bin/sh 28 - - -c 29 - args: 30 - - | 31 - nix-shell -p git --command 'git clone https://github.com/khuedoan/homelab .' 32 - 33 - while true; do 34 - nix-shell -p python311Packages.mkdocs-material --command 'mkdocs build' 35 - cp -RT ./site /usr/share/nginx/html 36 - sleep 120 37 - nix-shell -p git --command 'git fetch origin' 38 - nix-shell -p git --command 'git reset --hard origin/master' 39 - done 40 - readinessProbe: 41 - httpGet: 42 - path: / 43 - port: 80 44 - initialDelaySeconds: 3 45 - periodSeconds: 3 46 - volumeMounts: 47 - - mountPath: /usr/local/src 48 - name: source 49 - - mountPath: /usr/share/nginx/html 50 - name: static 51 - volumes: 52 - - name: source 53 - emptyDir: {} 54 - - name: static 55 - emptyDir: {}
-22
apps/homelab-docs/ingress.yaml
··· 1 - apiVersion: networking.k8s.io/v1 2 - kind: Ingress 3 - metadata: 4 - name: homelab-docs 5 - namespace: homelab-docs 6 - annotations: 7 - cert-manager.io/cluster-issuer: letsencrypt-prod 8 - spec: 9 - rules: 10 - - host: &host homelab.khuedoan.com 11 - http: 12 - paths: 13 - - pathType: ImplementationSpecific 14 - backend: 15 - service: 16 - name: homelab-docs 17 - port: 18 - name: http 19 - tls: 20 - - secretName: homelab-docs-tls-certificate 21 - hosts: 22 - - *host
-16
apps/homelab-docs/service.yaml
··· 1 - apiVersion: v1 2 - kind: Service 3 - metadata: 4 - labels: 5 - app: homelab-docs 6 - name: homelab-docs 7 - namespace: homelab-docs 8 - spec: 9 - type: ClusterIP 10 - selector: 11 - app: homelab-docs 12 - ports: 13 - - name: http 14 - protocol: TCP 15 - port: 80 16 - targetPort: 80