OAuth provider documentation #223

Open
opened 2021-09-24 19:14:44 +00:00 by pat-s · 3 comments
pat-s commented 2021-09-24 19:14:44 +00:00 (Migrated from gitea.com)

Could be helpful to list the available options and their dedicated string representations in values.yml.

E.g. "OpenID Connect", etc.

  • OpenID Connect -> "openidConnect"
Could be helpful to list the available options and their dedicated string representations in `values.yml`. E.g. "OpenID Connect", etc. - OpenID Connect -> "openidConnect"
justusbunsi commented 2021-10-16 09:55:06 +00:00 (Migrated from gitea.com)

True, in addition to that, we can prevent incorrect values with the validation schema.

True, in addition to that, we can prevent incorrect values with the validation schema.
samip537 commented 2021-12-21 01:33:19 +00:00 (Migrated from gitea.com)

This is rather troublesome as I tried to add Authentik when deploying via helm, but that didin't work as planned at all due to an error.

1s          Normal   error    helmrelease/gitea   reconciliation failed: Helm install failed: template: gitea/templates/gitea/statefulset.yaml:21:27: executing "gitea/templates/gitea/statefulset.yaml" at <include "gitea.oauth_settings" .>: error calling include: template: gitea/templates/_helpers.tpl:139:7: executing "gitea.oauth_settings" at <ne $key "enabled">: error calling ne: incompatible types for comparison
1s          Normal   info     helmrelease/gitea   Helm install has started

I strongly urge you to update the values.yaml with all of the options for them.

This is rather troublesome as I tried to add Authentik when deploying via helm, but that didin't work as planned at all due to an error. ``` 1s Normal error helmrelease/gitea reconciliation failed: Helm install failed: template: gitea/templates/gitea/statefulset.yaml:21:27: executing "gitea/templates/gitea/statefulset.yaml" at <include "gitea.oauth_settings" .>: error calling include: template: gitea/templates/_helpers.tpl:139:7: executing "gitea.oauth_settings" at <ne $key "enabled">: error calling ne: incompatible types for comparison 1s Normal info helmrelease/gitea Helm install has started ``` I strongly urge you to update the values.yaml with all of the options for them.
justusbunsi commented 2021-12-21 10:50:15 +00:00 (Migrated from gitea.com)

@samip537 As @luhahn mentioned here it is quite likely that Flux mixed new values.yaml format with old source code state.

Please find detailed answer to your comments in the OAuth PR -> https://gitea.com/gitea/helm-chart/pulls/244#issuecomment-691880

@samip537 As @luhahn mentioned [here](https://gitea.com/gitea/helm-chart/pulls/244#issuecomment-691875) it is quite likely that Flux mixed new values.yaml format with old source code state. Please find detailed answer to your comments in the OAuth PR -> https://gitea.com/gitea/helm-chart/pulls/244#issuecomment-691880
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunny/helm-chart#223
No description provided.