Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/artifactory] Postgresql requirement / ingress support / nginx optional #3242

Merged
merged 7 commits into from
Jan 30, 2018

Conversation

joosthofman
Copy link
Contributor

Removed Postgresql own deployment and created dependency to stable/Postgresql.
Updated artifactory version number to 5.8.0.
Updated notes and added ingress documentation.
Added Ingress support to artifactory.
Made the NGINX deployment optional by adding an enabled flag.
Fixed naming of components.

…stgresql.

Updated artifactory version number to 5.8.0.
Updated notes and added ingress documentation.
Added Ingress support to artifactory.
Made the NGINX deployment optional by adding an enabled flag.
Fixed naming of components.
@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jan 5, 2018
@joosthofman
Copy link
Contributor Author

@jainishshah17 @eldada please review.

@eldada
Copy link
Contributor

eldada commented Jan 5, 2018

@joosthof - can you wait until we merge #3200 ? It has a few changes that you'll need to merge with before applying your PR (which looks like a good path to take).

@jainishshah17
Copy link
Contributor

@joosthof I agree with @eldada. Let's wait till #3200 gets merged.

@eldada
Copy link
Contributor

eldada commented Jan 15, 2018

@joosthof - #3200 is merged. Please update your PR.

@joosthofman
Copy link
Contributor Author

@eldada PR updated.

Copy link
Contributor

@jainishshah17 jainishshah17 left a comment

Choose a reason for hiding this comment

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

Can you change chart version to 6.3.0 or 6.3.1

@joosthofman
Copy link
Contributor Author

@jainishshah17 Fixed the chart version

postgresPassword: "artifactory"
postgresDatabase: "artifactory"
persistence:
enabled: false
Copy link
Contributor

Choose a reason for hiding this comment

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

Since Artifactory is configure with persistence by default, I'd like the DB to also set like this.

@@ -1,7 +1,7 @@
apiVersion: v1
name: artifactory
home: https://www.jfrog.com/artifactory/
version: 6.2.5
version: 6.3.5
Copy link
Contributor

Choose a reason for hiding this comment

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

Should start 6.3.0.

@@ -94,6 +70,7 @@ artifactory:

# Nginx
nginx:
enabled: false
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 either nginx or ingress should be enabled. Both are set to enabled: false. Keeping with current chart, I suggest you leave the nginx enabled: true.

@@ -65,7 +41,7 @@ artifactory:
internalPort: 8081
persistence:
mountPath: "/var/opt/jfrog/artifactory"
enabled: true
enabled: false
Copy link
Contributor

Choose a reason for hiding this comment

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

Artifactory in its nature is still a stateful app (although we hope to change this in the future). I think the default should stay true here.

* Deploy a PostgreSQL database
* Deploy an Nginx server
* Deploy a PostgreSQL database using the stable/postgresql chart
* Deploy an optional Nginx server
Copy link
Contributor

Choose a reason for hiding this comment

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

Add the optional ingress.
Also, add a documentation section on the ingress and its supported parameters.

  • What it does
  • Using the TLS secret
  • Whitelisting IPs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added information about TLS secrets and how to use.
For the Ingress and whitelisting part I added a link to the kubernetes documentation.

@@ -0,0 +1,4 @@
dependencies:
- name: postgresql
version: 0.8.3
Copy link
Contributor

Choose a reason for hiding this comment

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

You can update to a later version

Copy link
Contributor

@eldada eldada left a comment

Choose a reason for hiding this comment

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

Looks good.
/approve

@joosthofman
Copy link
Contributor Author

/assign @sameersbn

@jainishshah17
Copy link
Contributor

/approve

@mattfarina
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jan 18, 2018
@mattfarina
Copy link
Contributor

@jainishshah17
Copy link
Contributor

@mattfarina Yes!!

@mattfarina
Copy link
Contributor

@jainishshah17 Then please submit a PR and go through the member process. You can use me as one of your references. The process for that is documented at https://github.com/kubernetes/community/blob/master/community-membership.md#member

@@ -1,7 +1,7 @@
apiVersion: v1
name: artifactory
home: https://www.jfrog.com/artifactory/
version: 6.2.5
version: 6.3.1
Copy link
Contributor

Choose a reason for hiding this comment

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

Because the API to the chart change (e.g., values.yaml file structure) in a backwards breaking way this should be 7.0.0 instead of a minor bump. That is to follow semver rules.

@sameersbn
Copy link
Contributor

/approve

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 30, 2018
@sameersbn
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 30, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eldada, jainishshah17, joosthof, sameersbn

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 5a47997 into helm:master Jan 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants