this repo has no description
0
fork

Configure Feed

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

feat(blog): switch to the Rust version

+3 -55
-22
apps/blog/deployment-rust.yaml
··· 1 - apiVersion: apps/v1 2 - kind: Deployment 3 - metadata: 4 - labels: 5 - app: blog 6 - name: blog 7 - namespace: blog 8 - spec: 9 - selector: 10 - matchLabels: 11 - app: blog 12 - template: 13 - metadata: 14 - labels: 15 - app: blog 16 - spec: 17 - containers: 18 - - name: blog 19 - image: khuedoan/blog:latest 20 - ports: 21 - - name: http 22 - containerPort: 3000
+3 -31
apps/blog/deployment.yaml
··· 15 15 app: blog 16 16 spec: 17 17 containers: 18 - - name: nginx 19 - image: nginx:latest 18 + - name: blog 19 + image: khuedoan/blog:rust 20 20 ports: 21 21 - name: http 22 - containerPort: 80 23 - volumeMounts: 24 - - mountPath: /usr/share/nginx/html 25 - name: static 26 - - name: build 27 - image: alpine:latest 28 - workingDir: /usr/local/src 29 - command: 30 - - /bin/sh 31 - - -c 32 - args: 33 - - | 34 - apk add git hugo 35 - git clone --branch hugo --recursive https://github.com/khuedoan/blog . 36 - while true; do 37 - hugo --minify --destination /usr/share/nginx/html 38 - sleep 120 39 - git pull 40 - done 41 - volumeMounts: 42 - - mountPath: /usr/local/src 43 - name: source 44 - - mountPath: /usr/share/nginx/html 45 - name: static 46 - volumes: 47 - - name: source 48 - emptyDir: {} 49 - - name: static 50 - emptyDir: {} 22 + containerPort: 3000
-2
apps/blog/kustomization.yaml
··· 2 2 kind: Kustomization 3 3 4 4 resources: 5 - # TODO clean this up, leaving it here for easy rollback 6 5 - deployment.yaml 7 - # - deployment-rust.yaml 8 6 - service.yaml 9 7 - ingress.yaml