mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Issue with dotnext PVC preventing normal deployments
* fixed k3d-deploy.sh directory reference
This commit is contained in:
parent
b724f520cd
commit
725189a7b0
@ -19,6 +19,7 @@ helm_resource('homepage', 'jameswynn/homepage',
|
||||
],
|
||||
# image_selector= "k3d-registry.localhost:55000/homepage:local",
|
||||
flags=[
|
||||
"-f", "k3d-helm-values.yaml"
|
||||
"-f", "k3d-helm-values.yaml",
|
||||
"--set", "persistence.dotnext.enabled=true"
|
||||
]
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOCKER_BUILDKIT=1 docker build -t k3d-registry.localhost:55000/homepage:local .
|
||||
DOCKER_BUILDKIT=1 docker build -t k3d-registry.localhost:55000/homepage:local ..
|
||||
docker push k3d-registry.localhost:55000/homepage:local
|
||||
|
||||
HELM_REPO_NAME=jameswynn
|
||||
|
@ -1,7 +1,7 @@
|
||||
image:
|
||||
repository: k3d-registry.localhost:55000/homepage
|
||||
tag: local
|
||||
pullPolicy: IfNotPresent
|
||||
pullPolicy: Always
|
||||
|
||||
config:
|
||||
bookmarks:
|
||||
@ -68,9 +68,10 @@ ingress:
|
||||
pathType: Prefix
|
||||
|
||||
persistence:
|
||||
# this persists the .next directory which greatly improves successive pod startup times
|
||||
# this persists the .next directory which greatly improves successive pod startup times in Tilt,
|
||||
# but it breaks normal deployments, so it is disabled by default
|
||||
dotnext:
|
||||
enabled: true
|
||||
enabled: false
|
||||
type: pvc
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1Gi
|
||||
|
@ -6,4 +6,4 @@ chmod 600 kubeconfig
|
||||
export KUBECONFIG=$(pwd)/kubeconfig
|
||||
|
||||
echo "Waiting for traefik install job to complete (CTRL+C is safe if you're impatient)"
|
||||
kubectl wait jobs/helm-install-traefik -n kube-system --for condition=complete --timeout 90s && echo "Completed" || echo "Timed out"
|
||||
kubectl wait jobs/helm-install-traefik -n kube-system --for condition=complete --timeout 90s && echo "Completed" || echo "Timed out (but it should still come up eventually)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user