citrusframework / citrusframework/yaks

Reading properties from secrets in other namespaces

Open
#391 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
90
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Hi!

Currently we create for each yaks test a secret, like shown in the [documentation](https://citrusframework.org/yaks/reference/html/index.html#configuration-secrets), were we store some of our credentials. Creating and maintaining the code and files however is quite cumbersome. It would be nice if one could label an already existing secret and read from it that is for example synced by an ExternalSecret. This sounds quite doable, but in our case the Secret will not be in the **same** namespace as the yaks test pod. Currently yaks is not able to read from a secret that is located in another namespace.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the configuration-secrets documentation linked in the issue and inspect how YAKS tests currently access secrets in their pod namespace. Determine how an existing, labeled Secret in another namespace should be selected and accessed, including the ExternalSecret use case; done means credentials can be read across namespaces without creating per-test secret files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes
Domain
infrastructure, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.