Skip to content

fix(aiven-credentials): rename secrets and apps from console-*/aiven-* to tmp-*#374

Merged
jhrv merged 4 commits intomainfrom
fix/aiven-credentials-naming-convention
Mar 20, 2026
Merged

fix(aiven-credentials): rename secrets and apps from console-*/aiven-* to tmp-*#374
jhrv merged 4 commits intomainfrom
fix/aiven-credentials-naming-convention

Conversation

@jhrv
Copy link
Copy Markdown
Contributor

@jhrv jhrv commented Mar 19, 2026

Summary

  • Renames generated Secret names from aiven-<type>-<hash> to tmp-<type>-<hash>
  • Renames generated AivenApplication names from console-<type>-<hash> to tmp-<type>-<hash>
  • Switches hash algorithm from crc32 to sha256 for better collision resistance

The old prefixes (console-, aiven-) leaked internal implementation details and didn't communicate that these are temporary, TTL-based resources. The tmp- prefix makes it immediately clear these are ephemeral.

Affects all three credential types: Kafka, OpenSearch, and Valkey.

…* to tmp-*

Replace misleading 'console-' and 'aiven-' prefixes with 'tmp-' to clearly
indicate these are temporary, TTL-based resources. Also switch from crc32 to
sha256 for better collision resistance.
@jhrv jhrv requested a review from a team as a code owner March 19, 2026 10:11
Users may provide the full Kubernetes resource name (e.g.
'valkey-myteam-cache' or 'opensearch-myteam-myindex') instead of just the
short instance name ('cache', 'myindex'). Strip the prefix to avoid
double-prefixing when Aivenator constructs the Aiven service name.
@thokra-nav
Copy link
Copy Markdown
Contributor

I valkey og opensearch pakka så har vi namePrefix funksjon, kan vurdere å eksponere og gjenbruke de?

jhrv and others added 2 commits March 20, 2026 09:12
…credentials

Addresses review feedback to avoid duplicating the prefix logic.
The canonical prefix definition now lives in each service package.
@jhrv jhrv enabled auto-merge (squash) March 20, 2026 09:58
@jhrv jhrv merged commit 2e09c10 into main Mar 20, 2026
10 checks passed
@jhrv jhrv deleted the fix/aiven-credentials-naming-convention branch March 20, 2026 10:01
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.

2 participants