-
Notifications
You must be signed in to change notification settings - Fork 3
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
Changed deployment #17
base: dev
Are you sure you want to change the base?
Conversation
Thanks for the PR @xhrach06. To help our reviewers, could you please give some context as to what the proposed changes specifically address? Ideally in an issue and then link to that issue in the PR. But if you just add it to the PR description, it will also be fine. |
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.
I have lots of questions 😕
@@ -17,23 +17,34 @@ spec: | |||
containers: | |||
- name: pubgrade | |||
imagePullPolicy: IfNotPresent | |||
image: akash7778/pubgrade:test_build | |||
image: cerit.io/matej_hrachovec/pub_fix:debu |
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.
This is a very suspicious change. Why change the image? To a different registry and name?
@@ -3,26 +3,125 @@ pubgrade_URL: 'http://pubgrade-service.pubgrade' | |||
|
|||
ingress: | |||
enabled: true | |||
url: 'your.url.without.http.com' | |||
url: 'pupgrade.dyn.cloud.e-infra.cz' |
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.
This looks like something commited by mistake
type: ClusterIP |
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.
This looks like something that should be parametrized in values.yaml
instead of hard wired here
ports: | ||
- containerPort: 8080 | ||
volumeMounts: | ||
- mountPath: {{ .Values.volumes.Pubgrade.pathToMountedDir }} | ||
name: pubgrade-storage | ||
- name: certconf | ||
mountPath: /etc/ssl/certs/cert.pem | ||
subPath: cert.pem |
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.
The certconf
config map does not have this file on it. A PEM file should be in a secret. This is at the very least very confusing. Probably a mistake.
- name: pubgrade-storage | ||
persistentVolumeClaim: | ||
claimName: {{ .Values.volumes.Pubgrade.name }} | ||
#{{- if .Values.volumes.Pubgrade.deployLocalPv }} |
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.
Why adding this?
@@ -45,3 +56,4 @@ spec: | |||
volumeMounts: | |||
- name: pubgrade-storage | |||
mountPath: {{ .Values.volumes.Pubgrade.pathToMountedDir }} | |||
#{{end}} |
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.
Why adding this?
No description provided.