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

Changed deployment #17

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Changed deployment #17

wants to merge 4 commits into from

Conversation

xhrach06
Copy link

No description provided.

@uniqueg uniqueg requested review from akash2237778 and lvarin July 15, 2022 07:10
@uniqueg
Copy link
Member

uniqueg commented Jul 15, 2022

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.

Copy link
Collaborator

@lvarin lvarin left a 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
Copy link
Collaborator

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'
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Collaborator

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 }}
Copy link
Collaborator

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}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why adding this?

@uniqueg
Copy link
Member

uniqueg commented Jul 18, 2022

Okay, thanks @lvarin. Let's see if we hear anything from @xhrach06

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