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

Add policy template for Compose deployments #8090

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Conversation

buchi
Copy link
Member

@buchi buchi commented Nov 21, 2024

Extends the policy generator to allow creating policies for Docker Compose deployments.

Instructions for creating new deployments:
https://4teamwork.atlassian.net/wiki/spaces/4TEAM/pages/2045607937/Neues+Gever+Teamraum+Deployment+mit+Docker+Compose

The Compose files are split into multiple files:

  • compose-deployment.yaml (Services required for each Deployment)
  • compose-geverui.yaml (Frontend)
  • compose-ianus.yaml (Portal)
  • compose-<server>-<num>-<name>.yaml (Specific Deployment)

This allows easier customization without modifying the base yaml files.
Configuration settings are stored in compose-<server>-<num>-<name>.env and customizations should be made preferably in compose-<server>-<num>-<name>.yaml.

Checklist

Everything has to be done/checked. Checked but not present means the author deemed it unnecessary.

  • Changelog entry
  • Link to issue (Jira or GitHub) and backlink in issue (Jira)

@buchi buchi force-pushed the compose-policy-template branch 2 times, most recently from db90050 to 808f3e9 Compare November 22, 2024 16:14
@buchi buchi force-pushed the compose-policy-template branch 3 times, most recently from 3dce96b to 5af42c8 Compare December 1, 2024 12:02
@buchi buchi marked this pull request as ready for review December 1, 2024 12:02
@buchi buchi requested a review from a team December 1, 2024 12:02
@buchi buchi force-pushed the compose-policy-template branch from 5af42c8 to 0b2a958 Compare December 1, 2024 18:32
@buchi buchi force-pushed the compose-policy-template branch from 0b2a958 to 68cd166 Compare January 4, 2025 10:28
Copy link
Member

@elioschmutz elioschmutz left a comment

Choose a reason for hiding this comment

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

👍

Do we still need the old-style deployment creation?

@buchi
Copy link
Member Author

buchi commented Jan 6, 2025

Old-style may be needed for existing policies when a new admin unit is added. As soon as all policies are converted to Compose, we can remove the old template.

@buchi buchi merged commit b8e3837 into master Jan 6, 2025
11 checks passed
@buchi buchi deleted the compose-policy-template branch January 6, 2025 12:26
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.

2 participants