Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: artifacthub files #812

Merged
merged 2 commits into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .hack/update-artifacthub-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ do
DIGEST=$(shasum -U -a 256 "$POLICY_FILE" | cut -d" " -f 1)
echo " Digest: $DIGEST"
$SED -i "s/^digest:.*/digest: $DIGEST/" $FILE
if ! grep -q "createdAt:" "$FILE"; then
echo "createdAt: \"$(date -u +%FT%T)\"" >> $FILE
fi
done
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.22-1.23"
kyverno/subject: "Pod"
digest: 6a0ace9b1f5b3f25b34117db4936ba32c4fcbbdfe3d0dba9e61b6152dede3a53
createdAt: "2023-12-02T23:26:55"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.22-1.23"
kyverno/subject: "Pod"
digest: 82a3924f4d25ed9bfc8e49395c7b0e8922f5ad0573830747dd3cf96dfb93ad7a
createdAt: "2023-12-02T23:26:56"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.22-1.23"
kyverno/subject: "Pod,Volume"
digest: 8f309db940eca3692840c78e2662ff0c25fa718cf0f468b58cdfd4c3d1011274
createdAt: "2023-12-02T23:26:56"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.22-1.23"
kyverno/subject: "Pod"
digest: 5162e3082e39a94078ee5137eb95c0230ab22def7332ff3cae007862f67f5eec
createdAt: "2023-12-02T23:26:56"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.22-1.23"
kyverno/subject: "Pod"
digest: e5c3baa87ccb5cbbaeb6594e12e4781c8fca0d72a5a513b2a6f8efc80e00b200
createdAt: "2023-12-02T23:26:56"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.22-1.23"
kyverno/subject: "Pod"
digest: 33a4b3765e2a54711df4379c41babb8b92f748d784bc79df049fb4fd225633a1
createdAt: "2023-12-02T23:26:55"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.26-1.27"
kyverno/subject: "Pod"
digest: 4c48385be967ef691a8d8fc839497328e9b4cfdfdd0fd767949e9f0299ba966e
createdAt: "2023-12-02T23:26:56"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.26-1.27"
kyverno/subject: "Pod"
digest: 48fbac14beda4385f57f55e55b84f99cfed3f8b5e88ab6c60046fdde00bf1273
createdAt: "2023-12-02T23:26:55"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.26-1.27"
kyverno/subject: "Pod"
digest: d6379e3637a2df6d05a1613d7a000aff5cf4f6f4cc983395574238cdd225fa39
createdAt: "2023-12-02T23:26:55"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.26-1.27"
kyverno/subject: "Pod"
digest: 047609777a0e1185127b20051beb2c07c98c8afd584602ecf2d1efd9d830b1c5
createdAt: "2023-12-02T23:26:56"
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ annotations:
kyverno/kubernetesVersion: "1.26-1.27"
kyverno/subject: "Pod"
digest: be45deb93071e4e2e062f431d4c14f404e538c12fa6a387beb9f6053d9d4f535
createdAt: "2023-12-02T23:26:55"
Loading