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

[Feature]: Oidc integration #252

Closed
1 task done
JensAc opened this issue Aug 10, 2023 · 0 comments · Fixed by #253
Closed
1 task done

[Feature]: Oidc integration #252

JensAc opened this issue Aug 10, 2023 · 0 comments · Fixed by #253
Labels
enhancement New feature or request

Comments

@JensAc
Copy link
Contributor

JensAc commented Aug 10, 2023

Checklist

  • I've searched for similar issues and couldn't find anything matching

Is this feature request related to a problem?

No

Problem Description

We want to configure an oidc provider for all applications spawned by the glasskube-operator.

Solution Description

A very simple solution would be to extend the app CRDs by e.g.

oidc:
  properties:
    name:
      type: string
    clientId:
      type: string
    clientSecret:
      type: string
    discoveryEndpoint:
      type: string
  type: object

and simply pass these additional bits of configuration to the apps.

Benefits

One could configure oidc without any manual interaction.

Potential Drawbacks

The resources would contain secret data, if the problem is approached as proposed. This might be acceptable for the sake of describing the app to be installed in a single resource. Of course, we could also think about specifying a secretRef and fetch the secret data from there. However, this would require the secret to exists, when an app should be installed.
What do you think?

Additional Information

No response

JensAc added a commit to JensAc/operator that referenced this issue Aug 10, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Aug 10, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
@pmig pmig linked a pull request Aug 10, 2023 that will close this issue
@kosmoz kosmoz added enhancement New feature or request apps/nextcloud and removed apps/nextcloud labels Aug 16, 2023
JensAc added a commit to JensAc/operator that referenced this issue Sep 8, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 8, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 8, 2023
Moreover, read clientId and clientSecret from a Kubernetes secret and
feed it into the nextcloud pod as an environment variable.

Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 8, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 8, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 8, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 8, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
…#252)

Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
…#252)

Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Moreover, read clientId and clientSecret from a Kubernetes secret and
feed it into the nextcloud pod as an environment variable.

Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
JensAc added a commit to JensAc/operator that referenced this issue Sep 15, 2023
…#252)

Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
@pmig pmig closed this as completed in #253 Sep 18, 2023
pmig pushed a commit that referenced this issue Sep 18, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
pmig pushed a commit that referenced this issue Sep 18, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
pmig pushed a commit that referenced this issue Sep 18, 2023
Moreover, read clientId and clientSecret from a Kubernetes secret and
feed it into the nextcloud pod as an environment variable.

Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
pmig pushed a commit that referenced this issue Sep 18, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
pmig pushed a commit that referenced this issue Sep 18, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
pmig pushed a commit that referenced this issue Sep 18, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
pmig pushed a commit that referenced this issue Sep 18, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
pmig pushed a commit that referenced this issue Sep 18, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
pmig pushed a commit that referenced this issue Sep 18, 2023
Signed-off-by: Jens Schneider <jens.schneider.ac@posteo.de>
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.

2 participants