Skip to content

Commit 95ab1aa

Browse files
committed
fix: Tiltfile and docs links
1 parent f24b413 commit 95ab1aa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Tiltfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,16 @@ FROM golang:1.18 as tilt-helper
102102
# Support live reloading with Tilt
103103
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \
104104
wget --output-document /start.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/start.sh && \
105-
chmod +x /start.sh && chmod +x /restart.sh
105+
chmod +x /start.sh && chmod +x /restart.sh && \
106+
touch /process.txt && chmod 0666 /process.txt `# pre-create PID file to allow even non-root users to run the image`
106107
"""
107108

108109
tilt_dockerfile_header = """
109110
FROM gcr.io/distroless/base:debug as tilt
110111
WORKDIR /
111112
COPY --from=tilt-helper /start.sh .
112113
COPY --from=tilt-helper /restart.sh .
114+
COPY --from=tilt-helper /process.txt .
113115
COPY manager .
114116
"""
115117

docs/book/src/developers/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ It will setup the network, if you already setup the network you can skip this st
158158
```
159159

160160
By default, the Cluster API components deployed by Tilt have experimental features turned off.
161-
If you would like to enable these features, add `extra_args` as specified in [The Cluster API Book](https://cluster-api.sigs.k8s.io/developer/tilt.html#create-a-tilt-settingsjson-file).
161+
If you would like to enable these features, add `extra_args` as specified in [The Cluster API Book](https://cluster-api.sigs.k8s.io/developer/core/tilt.html?highlight=tilt#create-a-tilt-settings-file).
162162

163163
Once your kind management cluster is up and running, you can [deploy a workload cluster](#deploying-a-workload-cluster).
164164

0 commit comments

Comments
 (0)