Strip sha256 hash
This commit is contained in:
@@ -29,10 +29,6 @@ jobs:
|
||||
curl --fail --silent --show-error --location \
|
||||
--output "${RUNNER_TEMP}/kubectl" \
|
||||
"https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
|
||||
curl --fail --silent --show-error --location \
|
||||
--output "${RUNNER_TEMP}/kubectl.sha256" \
|
||||
"https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256"
|
||||
printf '%s %s\n' "$(cat "${RUNNER_TEMP}/kubectl.sha256")" "${RUNNER_TEMP}/kubectl" | sha256sum --check
|
||||
chmod 0700 "${RUNNER_TEMP}/kubectl"
|
||||
echo "${RUNNER_TEMP}" >> "${GITHUB_PATH}"
|
||||
- name: Configure Kubernetes access
|
||||
|
||||
@@ -17,15 +17,16 @@ spec:
|
||||
|
||||
Diun sends Matrix notices to `!ckpLXMvXlZJtuvQBIJ:brunner.ninja` as
|
||||
`@diun:brunner.ninja`. It calls the Shoutrrr CLI through Diun's script notifier.
|
||||
An init container downloads the Shoutrrr v0.14.0 release, checks its SHA-256,
|
||||
and makes the binary available to Diun. Version 0.14.0 is pinned because
|
||||
An init container downloads the Shoutrrr v0.14.0 release and makes the binary
|
||||
available to Diun. Version 0.14.0 is pinned because
|
||||
0.14.1 sends duplicate Matrix authentication data that this Synapse rejects.
|
||||
The Matrix access token is stored in the `diun-matrix-token` Secret. A separate
|
||||
`diun-registry-credentials` Secret grants read access to private Quay images.
|
||||
Synapse password login remains disabled.
|
||||
|
||||
Container images here use readable version tags. Do not add `@sha256:` image
|
||||
digests; use `latest` only when no version tag is available.
|
||||
Container images here use readable version tags, with `latest` only when no
|
||||
version tag is available. Image digests and hard-coded download checksums are
|
||||
not used.
|
||||
|
||||
## Install
|
||||
|
||||
|
||||
@@ -69,7 +69,6 @@ spec:
|
||||
- |
|
||||
curl -fsSL -o /tmp/shoutrrr.tar.gz \
|
||||
https://github.com/nicholas-fedor/shoutrrr/releases/download/v0.14.0/shoutrrr_linux_amd64_0.14.0.tar.gz
|
||||
printf '%s %s\n' 5a238edf4dd0b838cb74608c277f2af4cde17f1bc9901d01ab7f101eb5d89cb9 /tmp/shoutrrr.tar.gz | sha256sum -c -
|
||||
tar -xzf /tmp/shoutrrr.tar.gz -C /tools shoutrrr
|
||||
chmod 0555 /tools/shoutrrr
|
||||
volumeMounts:
|
||||
|
||||
Reference in New Issue
Block a user