This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Moved Artifactory to stable and updated version to 5.3.2 #1314
Merged
Merged
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
266a42b
Upgraded artifactory version to 4.16.0
jainishshah17 dc1f0cd
Merge branch 'master' of https://github.com/kubernetes/charts
jainishshah17 f22f5cd
changes as per suggestion
jainishshah17 73d4a02
Merge remote-tracking branch 'k8s/master'
jainishshah17 54834d8
Merge remote-tracking branch 'Charts/master'
jainishshah17 5b9e47b
Added Stable Artifactory chart
jainishshah17 c7fd27c
removed Incubator Artifactory chart
jainishshah17 7312c59
Fixed port issue
jainishshah17 acdffb2
Fixed path
jainishshah17 ddbd6a8
fixed readme
jainishshah17 34ce7ff
Added Documentation for all variables.
jainishshah17 c02d548
Updated labels
jainishshah17 9e2c8a1
Fixed Parameter names
jainishshah17 fb226db
Fixed Notes.txt
jainishshah17 7e68a82
Updated Artifactory version to 5.4.1
jainishshah17 3e89133
Fixed metadata
jainishshah17 dc99e38
Merge remote-tracking branch 'Charts/master'
jainishshah17 d6aeb9d
Fixed naming
jainishshah17 577b918
Changes.
jainishshah17 bac7bcb
Merge remote-tracking branch 'Charts/master'
jainishshah17 a0571f1
Added release name to selector
jainishshah17 7f3f936
Nginx for Oss and Pro
jainishshah17 f5e02b2
Fixed readme
jainishshah17 4a788bd
using secret for database password
jainishshah17 e55e040
renamed secret to postgresql-secret.yaml
jainishshah17 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
apiVersion: v1 | ||
name: artifactory | ||
home: https://www.jfrog.com/artifactory/ | ||
version: 5.2.0 | ||
version: 5.4.1 | ||
appVersion: 5.4.1 | ||
description: Universal Repository Manager supporting all major packaging formats, build tools and CI servers. | ||
keywords: | ||
- artifactory | ||
|
@@ -9,6 +11,8 @@ sources: | |
- https://bintray.com/jfrog/product/JFrog-Artifactory-Pro/view | ||
- https://github.com/JFrogDev | ||
maintainers: | ||
- name: Jainish shah | ||
- name: jainishshah17 | ||
email: [email protected] | ||
- name: eldada | ||
email: [email protected] | ||
icon: https://raw.githubusercontent.com/JFrogDev/artifactory-dcos/master/images/jfrog_med.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# JFrog Artifactory Helm Chart | ||
|
||
## Prerequisites Details | ||
|
||
* Artifactory Pro trial license [get one from here](https://www.jfrog.com/artifactory/free-trial/) | ||
|
||
## Chart Details | ||
This chart will do the following: | ||
|
||
* Deploy Artifactory-Oss | ||
* Deploy Artifactory-Pro | ||
|
||
## Installing the Chart | ||
|
||
To install the chart with the release name `artifactory`: | ||
|
||
```bash | ||
$ helm install --name artifactory stable/artifactory | ||
``` | ||
|
||
### Deploying Artifactory OSS | ||
By default it will run Artifactory-Pro to run Artifactory-Oss use following command: | ||
```bash | ||
$ helm install --name artifactory --set artifactory.image.repository=docker.bintray.io/jfrog/artifactory-oss stable/artifactory | ||
``` | ||
|
||
### Accessing Artifactory | ||
**NOTE:** It might take a few minutes for Artifactory's public IP to become available. | ||
Follow the instructions outputted by the install command to get the Artifactory IP to access it. | ||
|
||
### Updating Artifactory | ||
Once you have a new chart version, you can update your deployment with | ||
```bash | ||
$ helm upgrade artifactory --namespace artifactory stable/artifactory | ||
``` | ||
|
||
This will apply any configuration changes on your existing deployment. | ||
|
||
### Customizing Database password | ||
You can override the specified database password (set in [values.yaml](values.yaml)), by passing it as a parameter in the install command line | ||
```bash | ||
$ helm install --name artifactory --namespace artifactory --set database.env.pass=12_hX34qwerQ2 stable/artifactory | ||
``` | ||
|
||
You can customise other parameters in the same way, by passing them on `helm install` command line. | ||
|
||
### Deleting Artifactory | ||
```bash | ||
$ helm delete --purge artifactory | ||
``` | ||
|
||
This will completely delete your Artifactory Pro deployment. | ||
**IMPORTANT:** This will also delete your data volumes. You will loose all data! | ||
|
||
## Configuration | ||
|
||
The following tables lists the configurable parameters of the artifactory chart and their default values. | ||
|
||
| Parameter | Description | Default | | ||
|---------------------------|-----------------------------------|----------------------------------------------------------| | ||
| `database.name` | Database name | `postgresql` | | ||
| `database.replicaCount` | Database replica count | `1` | | ||
| `database.env.type` | Database type | `postgresql` | | ||
| `database.env.name` | Database name | `artifactory` | | ||
| `database.env.user` | Database username | `artifactory` | | ||
| `database.env.pass` | Database password | `artXifactory1973` | | ||
| `database.image.repository` | Database container image | `docker.bintray.io/postgres` | | ||
| `database.image.version` | Database container image tag | `9.5.2` | | ||
| `database.image.pullPolicy` | Container pull policy | `IfNotPresent` | | ||
| `database.service.type` | Database service type | `ClusterIP` | | ||
| `database.externalPort` | Database service external port | `5432` | | ||
| `database.internalPort` | Database service internal port | `5432` | | ||
| `database.persistence.mountPath` | Database persistence volume mount path | `"/var/lib/postgresql/data"` | | ||
| `database.persistence.enabled` | Database persistence volume enabled | `true` | | ||
| `database.persistence.accessMode` | Database persistence volume access mode | `ReadWriteOnce` | | ||
| `database.persistence.size` | Database persistence volume size | `10Gi` | | ||
| `artifactory.name` | Artifactory name | `artifactory` | | ||
| `artifactory.replicaCount` | Replica count for Artifactory deployment| `1` | | ||
| `artifactory.image.pullPolicy` | Container pull policy | `IfNotPresent` | | ||
| `artifactory.image.repository` | Container image | `docker.bintray.io/jfrog/artifactory-pro` | | ||
| `artifactory.image.version` | Container image tag | `5.4.1` | | ||
| `artifactory.service.type`| Artifactory service type | `ClusterIP` | | ||
| `artifactory.externalPort` | Artifactory service external port | `8081` | | ||
| `artifactory.internalPort` | Artifactory service internal port | `8081` | | ||
| `artifactory.persistence.mountPath` | Artifactory persistence volume mount path | `"/var/opt/jfrog/artifactory"` | | ||
| `artifactory.persistence.enabled` | Artifactory persistence volume enabled | `true` | | ||
| `artifactory.persistence.accessMode` | Artifactory persistence volume access mode | `ReadWriteOnce` | | ||
| `artifactory.persistence.size` | Artifactory persistence volume size | `20Gi` | | ||
| `nginx.name` | Nginx name | `nginx` | | ||
| `nginx.replicaCount` | Nginx replica count | `1` | | ||
| `nginx.image.repository` | Container image | `docker.bintray.io/jfrog/nginx-artifactory-pro` | | ||
| `nginx.image.pullPolicy` | Container pull policy | `IfNotPresent` | | ||
| `nginx.image.version` | Container image tag | `5.4.1` | | ||
| `nginx.service.type`| Nginx service type | `LoadBalancer` | | ||
| `nginx.externalPortHttp` | Nginx service external port | `80` | | ||
| `nginx.internalPortHttp` | Nginx service internal port | `80` | | ||
| `nginx.externalPortHttps` | Nginx service external port | `443` | | ||
| `nginx.internalPortHttps` | Nginx service internal port | `443` | | ||
| `nginx.env.artUrl` | Nginx Environment variable Artifactory URL | `"http://artifactory:8081/artifactory"` | | ||
| `nginx.env.ssl` | Nginx Environment enable ssl | `true` | | ||
| `nginx.persistence.mountPath` | Nginx persistence volume mount path | `"/var/opt/jfrog/nginx"` | | ||
| `nginx.persistence.enabled` | Nginx persistence volume enabled | `true` | | ||
| `nginx.persistence.accessMode` | Nginx persistence volume access mode | `ReadWriteOnce` | | ||
| `nginx.persistence.size` | Nginx persistence volume size | `5Gi` | | ||
|
||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. | ||
|
||
|
||
## Useful links | ||
https://www.jfrog.com | ||
https://www.jfrog.com/confluence/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Congratulations. You have just deployed JFrog Artifactory Pro! | ||
|
||
1. Get the Artifactory URL by running these commands: | ||
|
||
{{- if contains "NodePort" .Values.nginx.service.type }} | ||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "nginx.name" . }}) | ||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") | ||
echo http://$NODE_IP:$NODE_PORT/ | ||
|
||
{{- else if contains "LoadBalancer" .Values.nginx.service.type }} | ||
|
||
NOTE: It may take a few minutes for the LoadBalancer IP to be available. | ||
You can watch the status of the service by running 'kubectl get svc -w {{ template "nginx.name" . }}' | ||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "nginx.name" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}') | ||
echo http://$SERVICE_IP/ | ||
|
||
{{- else if contains "ClusterIP" .Values.nginx.service.type }} | ||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "component={{ .Values.nginx.name }}" -o jsonpath="{.items[0].metadata.name}") | ||
echo http://127.0.0.1:{{ .Values.nginx.externalPortHttp }} | ||
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME {{ .Values.nginx.externalPortHttp }}:{{ .Values.nginx.internalPortHttp }} | ||
|
||
{{- end }} | ||
|
||
2. Open Artifactory in your browser | ||
Default credential for Artifactory: | ||
user: admin | ||
password: password |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Chart version and app version are two different things. They don't have to be aligned.