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

Nginx updates #20

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

erikburgess
Copy link

Added service type to configuration to prevent deployment issues.

Added the ability to configure resources to the deployment.

@erikburgess
Copy link
Author

@rustycl0ck @rtluckie

Added "default" chart which is more configurable and now Nginx is deployable.

The version is changed to 1.0 as this chart will probably break the current deployment.

Copy link
Contributor

@dcwangmit01 dcwangmit01 left a comment

Choose a reason for hiding this comment

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

@erikburgess There's a whole bunch of deletions of what might be useful stuff. Can you explain?

@@ -21,4 +57,4 @@ imagePullPolicy: IfNotPresent
# fastcgi_index index.php;
# include fastcgi.conf;
# }
# }
# }
Copy link
Contributor

Choose a reason for hiding this comment

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

SHOULD: add newline

maintainers:
- email: [email protected]
name: Bitnami
apiVersion: v1
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is most of this file removed?

Copy link
Author

Choose a reason for hiding this comment

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

IMO this is a new chart, it is created from a "helm create" and supports the same features.

@@ -1,99 +0,0 @@
# NGINX
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this readme deleted? Every chart needs a readme.

template:
metadata:
labels:
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we're losing infomration here. Labels that we rely upon to filter for the helm release and heritage

Copy link
Author

Choose a reason for hiding this comment

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

These still exist, they are replaced with the current values of nginx.XXXXXXX. The chart label is missing because helm does not create it anymore.

livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
Copy link
Contributor

Choose a reason for hiding this comment

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

Why delete?

@erikburgess
Copy link
Author

@dcwangmit01
My intention was to make the chart more generic, as the current chart had a single use. I was diffing and trying to make sure the config was the same, but seems I missed some stuff 😟. My initial goal was to add resources, but the chart was not deployable/testable in the current state so I started making changes.

I didn't realize this chart was taken from an upstream project, but the changes are drastic enough that it seemed seemed like a new chart.

@dcwangmit01
Copy link
Contributor

Please update so that the deleted items don't cause regressions.

@rustycl0ck Needs to review this changes to ensure they don't break anything.

@rustycl0ck
Copy link
Contributor

@erikburgess
Changes from fullname to nginx.fullname break at the following 3 places -

Couldn't tag them in the PR because these lines weren't actually changed. After updating these variables, I was able to successfully apply this chart.
Also, please upstream the changes to bitnami repo if possible.

@dcwangmit01
Copy link
Contributor

Still awaiting the changes that @rustycl0ck requested.

@dcwangmit01
Copy link
Contributor

@erikburgess If you're breaking something, please include the PR to fix that which will be broken. After we see that PR, we can merge this one and that one sequentially. Please work with @rustycl0ck

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