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

SSO Secret Templating #263

Closed
Racer159 opened this issue Mar 15, 2024 · 0 comments · Fixed by #276
Closed

SSO Secret Templating #263

Racer159 opened this issue Mar 15, 2024 · 0 comments · Fixed by #276
Labels
enhancement New feature or request

Comments

@Racer159
Copy link
Contributor

Is your feature request related to a problem? Please describe.

As Ezra I want a way to define a secret template for Pepr to populate so that I can more easily create SSO secrets in ways that application Helm charts expect them

Describe the solution you'd like

  • Given I have an application configured to integrate with a UDSPackage CRD
  • When I add a new secret template field to the sso section
  • And I apply that CRD to my cluster
  • Then Pepr templates the specified client information into the secret
  • And saves that to the cluster ready for an application to pickup

Describe alternatives you've considered

We could create intermediary mechanisms for this but those would be likely to have race conditions, or other issues in implementation.

Additional context

This should expose the values available in the sso secret today and should map custom secret keys in the generated secret to templated string values that represent the data that the application wants (i.e. json files or properties files).

See for an example of what GitLab expects: defenseunicorns/uds-package-gitlab#60

@Racer159 Racer159 added the enhancement New feature or request label Mar 15, 2024
TristanHoladay added a commit that referenced this issue Mar 22, 2024
This PR introduces SSO secret templating within the UDS Operator. This
allows dynamic property bindings for the secret and custom file types
such as nested JSON, YAML, etc.

Fixes #263

![Screenshot 2024-03-20 at 2 47
24 AM](https://github.com/defenseunicorns/uds-core/assets/882485/3cf5e6d2-8b8f-484a-adc9-4d59c938c243)

---------

Co-authored-by: TristanHoladay <[email protected]>
rjferguson21 pushed a commit that referenced this issue Jul 11, 2024
This PR introduces SSO secret templating within the UDS Operator. This
allows dynamic property bindings for the secret and custom file types
such as nested JSON, YAML, etc.

Fixes #263

![Screenshot 2024-03-20 at 2 47
24 AM](https://github.com/defenseunicorns/uds-core/assets/882485/3cf5e6d2-8b8f-484a-adc9-4d59c938c243)

---------

Co-authored-by: TristanHoladay <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant