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/ab#978 create helm chart #5

Merged
merged 3 commits into from
Dec 19, 2023
Merged

Conversation

ztarbug
Copy link
Contributor

@ztarbug ztarbug commented Dec 19, 2023

Work on Helm chart to make DataBackend deployable to Kubernetes.

Description

This is a first working verison for a Helm chart.

Motivation and Context

App needs to be deployable

How has this been tested?

Deployment to test clusters

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest using StatefulSet instead of Deployment, because this is also a component that we rather do not want to run multiple times in parallel...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

value: /{{ include "databackend.fullname" . }}
- name: SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GITHUB_CLIENTID
value: {{ .Values.app.context_path | quote }}
{{- if .Values.auth.enabled }}
Copy link
Contributor

Choose a reason for hiding this comment

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

I have not tried it, but I would expect that we'd need to also set SPRING_PROFILES_ACTIVE=dev if we want to start without authentication.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no auth in code yet.

@ztarbug ztarbug merged commit fccd0c8 into main Dec 19, 2023
1 check passed
@ztarbug ztarbug deleted the feature/AB#978-create-Helm-chart branch December 19, 2023 12:36
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