-
Notifications
You must be signed in to change notification settings - Fork 153
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
Support for configuring dex theme via values.yaml #12560
Support for configuring dex theme via values.yaml #12560
Conversation
# Theme contains the Dex theme assets converted to string and base64 encoded. | ||
# By default, the assets from `/theme` directory are used. | ||
theme: {} | ||
# favicon.png: iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAYrSURBVFjDvZdriF1XFcd/e9/nTGbijAEbEnUmbdGGIE4QaYKFTpvaQgWTSijiKxPUVJTSVMEgCBo0UCix1keqIGYqVJsiNm2DxBY7sbU1iHGmoUK1CpOaTJKZzNx7zzn3PPZr+eFOhpLEJjdF14fzaa/1/+3/WqxzjqKLuPO51oDSPKSUGiuFcOSp2wZu6Sb/UlHu5rDPGHMlxkriqVv7drUB0N0c/ud8PnB2PiOeT3BzEQBz9VUj/xeAmcGhkd0Pf2XbzMwc86fOsOKl50dP11YLMDlXXyVz9VWTZ6urdv5PAE4PDu3UQSZv+8fR4a2Hf8HcG6donlu4MHkExUPT5ZWTf+991xW78pYzMDM4NKBgvwqyRbsAQfjWn35F1E6ZrS9HK7V4UjpPDZTUCIqJv/WtXL8uOTN91Q7MDA4NK2FCu7BF24DygogG0Txw/Gmuq0NJwxLDYigUSqkBD/uvugUzg0MDOsiEdmFEu4AKQggaLwovChHFBrfAczd9nCByAcAiBIwe7Vu95apasHjz4c6tO4JeFE4UFlj2ua1cv+2LfPXEAP++dh2fHd+DWmoECBoQPLIZONiVA2dWDH+75PwIDrzXeK+xQS+Jy9BqrvnZXsrvXU0StTl0x2f44Td+QrxsOQIEICB4FB410nULtMg2sR1xFzQ2KKyAETAI/du2nr8mUlhM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De7e5+BoDZ744eacbx9kac0KitxpZreASCB+/f1AqL8hbnLbnzJM7TdJ5EBTJn7//rvTd034Lzkfz87vE4aq3P0nRqfvAGROiIBllqBcETQsCLYEQoAFsGXQ7jJ7/54e9fqm7pSgEA/OuHz7h//e6n2XWfOFEt4pFW//sGCL5jvwK0hnIFqjXo7YFlNajp3cXeO+7/bzW7Ajgf7syfp1prvzyIhFElHg2okkYqZajXYVkvLKtNUy3fxb7N429Vq6uf0wtDi1AClFZIuQK9PYTe2hRV/TD7Pzl+JTXeFkBNQR3VDJXKlKnXnpJK5WB48p7pbmr8B3ATxATU5NDqAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTAyLTIzVDE0OjIxOjEyKzAwOjAwDYmh3gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wMi0yM1QxNDoyMToxMiswMDowMHzUGWIAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjMtMDItMjNUMTQ6MjE6MTIrMDA6MDArwTi9AAAAAElFTkSuQmCC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wanted to keep it here as an example for the users.
/cherry-pick release/v2.23 |
@ahmedwaleedmalik: once the present PR merges, I will cherry-pick it on top of release/v2.23 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM label has been added. Git tree hash: 440cc80dddb27356f5221dcd1de3e8b0c223bbe7
|
e55bd43
to
07ed17c
Compare
07ed17c
to
3829251
Compare
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
3829251
to
a8bd4fc
Compare
/approve |
LGTM label has been added. Git tree hash: 1faf1ea9de3c94dec2f79a8d1ea4f41d0ad023b9
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahmedwaleedmalik, xrstf The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@ahmedwaleedmalik: new pull request created: #12562 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What this PR does / why we need it:
An important requirement from our customers is to add their own branding for our dashboard and dex. For updating the theme of dex, users can update the files in theme directory which are then propagated and installed in the form of a kubernetes secret.
While this works it also adds a huge limitation since all the files need to exist and be up-to-date in the
theme
directory before running the installer. This PR adds a way to consume those assets fromvalues.yaml
as well. With this change, we don't need to maintain those files anymore, all the user needs is to maintain a single values file.Which issue(s) this PR fixes:
Fixes #
What type of PR is this?
/kind feature
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation: