Skip to content

feat: add proxy configuration file to Helm chart#66

Merged
Tim-herbie merged 1 commit intoTim-herbie:mainfrom
HttpRafa:feat/proxy-config
Apr 2, 2026
Merged

feat: add proxy configuration file to Helm chart#66
Tim-herbie merged 1 commit intoTim-herbie:mainfrom
HttpRafa:feat/proxy-config

Conversation

@HttpRafa
Copy link
Copy Markdown

@HttpRafa HttpRafa commented Apr 1, 2026

This PR adds the missing proxy.yaml file to the chart. This file can be used to specify role mappings between an Identity Provider (e.g., Authentik) and OpenCloud roles, such as Admin, User, or SpaceAdmin (see Automatic Role Assignments). Additionally, it makes it possible to add default quotas to roles. See Default User Quota.

Credits: > This implementation is based on and closely mirrors the work originally done by XA21X in this commit.

- name: config-files
configMap:
name: {{ include "opencloud.opencloud.fullname" . }}-config
- name: proxy-config
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this because it is not used anywhere

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for a proxy.yaml configuration file in the OpenCloud Helm chart so proxy-related settings (e.g., role mappings / quotas) can be supplied via values or default templates and mounted into the OpenCloud container.

Changes:

  • Add opencloud.config.proxy to values.yaml (with a commented example).
  • Render proxy.yaml into the existing OpenCloud ConfigMap and mount it into the deployment.
  • Introduce a default files/opencloud/proxy.yaml.gotmpl template.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
charts/opencloud/values.yaml Adds opencloud.config.proxy values entry and documentation/example.
charts/opencloud/templates/opencloud/deployment.yaml Mounts /etc/opencloud/proxy.yaml from the shared config files ConfigMap.
charts/opencloud/templates/opencloud/configmap.yaml Adds proxy.yaml key to the main OpenCloud ConfigMap, rendered from values or a template.
charts/opencloud/files/opencloud/proxy.yaml.gotmpl Adds the default proxy configuration template content.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/opencloud/templates/opencloud/configmap.yaml
Comment thread charts/opencloud/values.yaml
Comment thread charts/opencloud/values.yaml
Comment thread charts/opencloud/files/opencloud/proxy.yaml.gotmpl
Comment thread charts/opencloud/files/opencloud/proxy.yaml.gotmpl
@Tim-herbie
Copy link
Copy Markdown
Owner

Seems good, thank you!

@Tim-herbie Tim-herbie merged commit d9314f3 into Tim-herbie:main Apr 2, 2026
5 checks passed
@HttpRafa HttpRafa deleted the feat/proxy-config branch April 2, 2026 16:39
@HttpRafa
Copy link
Copy Markdown
Author

HttpRafa commented Apr 2, 2026

@Tim-herbie When do you plan to release the next release?

@Tim-herbie
Copy link
Copy Markdown
Owner

@HttpRafa Right now ;)

@Tim-herbie Tim-herbie mentioned this pull request Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants