Skip to content

Conversation

ValentinGerlach
Copy link
Member

@ValentinGerlach ValentinGerlach commented Sep 10, 2025

What this PR does / why we need it:

We added new hash functions for Kubernetes resource names in #114. Unfortunately, the UUID format turned out to be too long in many cases. This PR adds a shorter variant. It still uses SHAKE128 (SHA-3) which is FIPS 202 compliant. The output (40 bits) is base32 encoded so it can be used in names for other Kubernetes resources.

Release note:

feat: new, shorter hash function for k8s resource names

@ValentinGerlach ValentinGerlach force-pushed the k8s-object-hashes-2 branch 3 times, most recently from 52bd3fa to 4514bcd Compare September 10, 2025 21:46
@n3rdc4ptn n3rdc4ptn merged commit 1e5fff5 into main Sep 11, 2025
7 checks passed
@n3rdc4ptn n3rdc4ptn deleted the k8s-object-hashes-2 branch September 11, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants