From d00fa3f2f7163121d535d942e10756bf2e702a30 Mon Sep 17 00:00:00 2001 From: Vinay Aggarwal Date: Tue, 26 Nov 2019 01:12:50 -0300 Subject: [PATCH] added readme file to install JCR with Helm with external DBs --- .../CloudFormation-JCR-ECS}/.gitmodules | 0 .../CloudFormation-JCR-ECS}/LICENSE.txt | 0 .../CloudFormation-JCR-ECS}/Makefile | 0 .../CloudFormation-JCR-ECS}/README.md | 0 .../ci/jfrog-new-vpc-jcr6-ecs.json | 0 .../CloudFormation-JCR-ECS}/ci/taskcat.yml | 0 .../scripts/roles/artifactory/README.md | 0 .../roles/artifactory/defaults/main.yml | 0 .../files/inactiveServerCleaner.groovy | 0 .../artifactory/files/installer-info.json | 0 .../roles/artifactory/files/nginx.conf | 0 .../roles/artifactory/handlers/main.yml | 0 .../scripts/roles/artifactory/meta/main.yml | 0 .../roles/artifactory/tasks/configure.yml | 0 .../roles/artifactory/tasks/configure_ecs.yml | 0 .../roles/artifactory/tasks/install.yml | 0 .../scripts/roles/artifactory/tasks/main.yml | 0 .../roles/artifactory/tasks/nginx-setup.yml | 0 .../templates/artifactory.cluster.license.j2 | 0 .../artifactory/templates/artifactory.conf.j2 | 0 .../artifactory/templates/binarystore.xml.j2 | 0 .../artifactory/templates/certificate.key.j2 | 0 .../artifactory/templates/certificate.pem.j2 | 0 .../artifactory/templates/db.properties.j2 | 0 .../templates/ha-node.properties.j2 | 0 .../roles/artifactory/templates/master.key.j2 | 0 .../scripts/site-artifactory.yml | 0 .../jfrog-jcr6-ecs-ec2.template.yaml | 0 .../jfrog-jcr6-ecs-existing-vpc.template.yaml | 0 .../jfrog-jcr6-ecs-master.template.yaml | 0 .../templates/jfrog-jcr6-ecs.template.yaml | 0 .../CloudFormation-JCR-EKS}/.gitmodules | 0 .../CloudFormation-JCR-EKS}/LICENSE.txt | 0 .../CloudFormation-JCR-EKS}/Makefile | 0 .../CloudFormation-JCR-EKS}/README.md | 0 .../ci/jfrog-new-vpc-jcr6-eks.json | 0 .../CloudFormation-JCR-EKS}/ci/taskcat.yml | 0 ...jfrog-jcr6-eks-core-workload.template.yaml | 0 .../jfrog-jcr6-eks-existing-vpc.template.yaml | 0 .../jfrog-jcr6-eks-master.template.yaml | 0 JFrogContainerRegistry/HelmInstall/README.md | 173 ++++++++++++++++++ 41 files changed, 173 insertions(+) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/.gitmodules (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/LICENSE.txt (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/Makefile (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/README.md (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/ci/jfrog-new-vpc-jcr6-ecs.json (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/ci/taskcat.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/README.md (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/defaults/main.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/files/inactiveServerCleaner.groovy (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/files/installer-info.json (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/files/nginx.conf (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/handlers/main.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/meta/main.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/tasks/configure.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/tasks/configure_ecs.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/tasks/install.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/tasks/main.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/tasks/nginx-setup.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/templates/artifactory.cluster.license.j2 (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/templates/artifactory.conf.j2 (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/templates/binarystore.xml.j2 (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/templates/certificate.key.j2 (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/templates/certificate.pem.j2 (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/templates/db.properties.j2 (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/templates/ha-node.properties.j2 (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/roles/artifactory/templates/master.key.j2 (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/scripts/site-artifactory.yml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/templates/jfrog-jcr6-ecs-ec2.template.yaml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/templates/jfrog-jcr6-ecs-existing-vpc.template.yaml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/templates/jfrog-jcr6-ecs-master.template.yaml (100%) rename {CloudFormation-JCR-ECS => JFrogContainerRegistry/CloudFormation-JCR-ECS}/templates/jfrog-jcr6-ecs.template.yaml (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/.gitmodules (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/LICENSE.txt (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/Makefile (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/README.md (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/ci/jfrog-new-vpc-jcr6-eks.json (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/ci/taskcat.yml (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/templates/jfrog-jcr6-eks-core-workload.template.yaml (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/templates/jfrog-jcr6-eks-existing-vpc.template.yaml (100%) rename {CloudFormation-JCR-EKS => JFrogContainerRegistry/CloudFormation-JCR-EKS}/templates/jfrog-jcr6-eks-master.template.yaml (100%) create mode 100755 JFrogContainerRegistry/HelmInstall/README.md diff --git a/CloudFormation-JCR-ECS/.gitmodules b/JFrogContainerRegistry/CloudFormation-JCR-ECS/.gitmodules similarity index 100% rename from CloudFormation-JCR-ECS/.gitmodules rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/.gitmodules diff --git a/CloudFormation-JCR-ECS/LICENSE.txt b/JFrogContainerRegistry/CloudFormation-JCR-ECS/LICENSE.txt similarity index 100% rename from CloudFormation-JCR-ECS/LICENSE.txt rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/LICENSE.txt diff --git a/CloudFormation-JCR-ECS/Makefile b/JFrogContainerRegistry/CloudFormation-JCR-ECS/Makefile similarity index 100% rename from CloudFormation-JCR-ECS/Makefile rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/Makefile diff --git a/CloudFormation-JCR-ECS/README.md b/JFrogContainerRegistry/CloudFormation-JCR-ECS/README.md similarity index 100% rename from CloudFormation-JCR-ECS/README.md rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/README.md diff --git a/CloudFormation-JCR-ECS/ci/jfrog-new-vpc-jcr6-ecs.json b/JFrogContainerRegistry/CloudFormation-JCR-ECS/ci/jfrog-new-vpc-jcr6-ecs.json similarity index 100% rename from CloudFormation-JCR-ECS/ci/jfrog-new-vpc-jcr6-ecs.json rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/ci/jfrog-new-vpc-jcr6-ecs.json diff --git a/CloudFormation-JCR-ECS/ci/taskcat.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/ci/taskcat.yml similarity index 100% rename from CloudFormation-JCR-ECS/ci/taskcat.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/ci/taskcat.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/README.md b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/README.md similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/README.md rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/README.md diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/defaults/main.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/defaults/main.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/defaults/main.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/defaults/main.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/inactiveServerCleaner.groovy b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/inactiveServerCleaner.groovy similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/files/inactiveServerCleaner.groovy rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/inactiveServerCleaner.groovy diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/installer-info.json b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/installer-info.json similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/files/installer-info.json rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/installer-info.json diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/nginx.conf b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/nginx.conf similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/files/nginx.conf rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/files/nginx.conf diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/handlers/main.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/handlers/main.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/handlers/main.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/handlers/main.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/meta/main.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/meta/main.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/meta/main.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/meta/main.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/configure.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/configure.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/configure.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/configure.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/configure_ecs.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/configure_ecs.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/configure_ecs.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/configure_ecs.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/install.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/install.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/install.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/install.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/main.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/main.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/main.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/main.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/nginx-setup.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/nginx-setup.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/nginx-setup.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/tasks/nginx-setup.yml diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/artifactory.cluster.license.j2 b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/artifactory.cluster.license.j2 similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/artifactory.cluster.license.j2 rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/artifactory.cluster.license.j2 diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/artifactory.conf.j2 b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/artifactory.conf.j2 similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/artifactory.conf.j2 rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/artifactory.conf.j2 diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/binarystore.xml.j2 b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/binarystore.xml.j2 similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/binarystore.xml.j2 rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/binarystore.xml.j2 diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/certificate.key.j2 b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/certificate.key.j2 similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/certificate.key.j2 rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/certificate.key.j2 diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/certificate.pem.j2 b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/certificate.pem.j2 similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/certificate.pem.j2 rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/certificate.pem.j2 diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/db.properties.j2 b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/db.properties.j2 similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/db.properties.j2 rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/db.properties.j2 diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/ha-node.properties.j2 b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/ha-node.properties.j2 similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/ha-node.properties.j2 rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/ha-node.properties.j2 diff --git a/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/master.key.j2 b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/master.key.j2 similarity index 100% rename from CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/master.key.j2 rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/roles/artifactory/templates/master.key.j2 diff --git a/CloudFormation-JCR-ECS/scripts/site-artifactory.yml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/site-artifactory.yml similarity index 100% rename from CloudFormation-JCR-ECS/scripts/site-artifactory.yml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/scripts/site-artifactory.yml diff --git a/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-ec2.template.yaml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-ec2.template.yaml similarity index 100% rename from CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-ec2.template.yaml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-ec2.template.yaml diff --git a/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-existing-vpc.template.yaml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-existing-vpc.template.yaml similarity index 100% rename from CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-existing-vpc.template.yaml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-existing-vpc.template.yaml diff --git a/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-master.template.yaml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-master.template.yaml similarity index 100% rename from CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-master.template.yaml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs-master.template.yaml diff --git a/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs.template.yaml b/JFrogContainerRegistry/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs.template.yaml similarity index 100% rename from CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs.template.yaml rename to JFrogContainerRegistry/CloudFormation-JCR-ECS/templates/jfrog-jcr6-ecs.template.yaml diff --git a/CloudFormation-JCR-EKS/.gitmodules b/JFrogContainerRegistry/CloudFormation-JCR-EKS/.gitmodules similarity index 100% rename from CloudFormation-JCR-EKS/.gitmodules rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/.gitmodules diff --git a/CloudFormation-JCR-EKS/LICENSE.txt b/JFrogContainerRegistry/CloudFormation-JCR-EKS/LICENSE.txt similarity index 100% rename from CloudFormation-JCR-EKS/LICENSE.txt rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/LICENSE.txt diff --git a/CloudFormation-JCR-EKS/Makefile b/JFrogContainerRegistry/CloudFormation-JCR-EKS/Makefile similarity index 100% rename from CloudFormation-JCR-EKS/Makefile rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/Makefile diff --git a/CloudFormation-JCR-EKS/README.md b/JFrogContainerRegistry/CloudFormation-JCR-EKS/README.md similarity index 100% rename from CloudFormation-JCR-EKS/README.md rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/README.md diff --git a/CloudFormation-JCR-EKS/ci/jfrog-new-vpc-jcr6-eks.json b/JFrogContainerRegistry/CloudFormation-JCR-EKS/ci/jfrog-new-vpc-jcr6-eks.json similarity index 100% rename from CloudFormation-JCR-EKS/ci/jfrog-new-vpc-jcr6-eks.json rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/ci/jfrog-new-vpc-jcr6-eks.json diff --git a/CloudFormation-JCR-EKS/ci/taskcat.yml b/JFrogContainerRegistry/CloudFormation-JCR-EKS/ci/taskcat.yml similarity index 100% rename from CloudFormation-JCR-EKS/ci/taskcat.yml rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/ci/taskcat.yml diff --git a/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-core-workload.template.yaml b/JFrogContainerRegistry/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-core-workload.template.yaml similarity index 100% rename from CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-core-workload.template.yaml rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-core-workload.template.yaml diff --git a/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-existing-vpc.template.yaml b/JFrogContainerRegistry/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-existing-vpc.template.yaml similarity index 100% rename from CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-existing-vpc.template.yaml rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-existing-vpc.template.yaml diff --git a/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-master.template.yaml b/JFrogContainerRegistry/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-master.template.yaml similarity index 100% rename from CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-master.template.yaml rename to JFrogContainerRegistry/CloudFormation-JCR-EKS/templates/jfrog-jcr6-eks-master.template.yaml diff --git a/JFrogContainerRegistry/HelmInstall/README.md b/JFrogContainerRegistry/HelmInstall/README.md new file mode 100755 index 0000000..b5f17ab --- /dev/null +++ b/JFrogContainerRegistry/HelmInstall/README.md @@ -0,0 +1,173 @@ +# JFrog Container Registry Helm Chart with external Database + +JFrog Container Registry is a free Artifactory edition with Docker and Helm repositories support. + +## Prerequisites Details + +* Kubernetes 1.10+ +* Helm +* A preinstalled Database + +## Chart Details +This chart will do the following: + +* Deploy JFrog Container Registry +* Deploy an optional Nginx server +* Connect to an external Database +* Optionally expose Artifactory with Ingress [Ingress documentation](https://kubernetes.io/docs/concepts/services-networking/ingress/) + +## Installing the Chart + +### Add JFrog Helm repository +Before installing JFrog helm charts, you need to add the [JFrog helm repository](https://charts.jfrog.io/) to your helm client +```bash +helm repo add jfrog https://charts.jfrog.io +``` + +### Install Chart with external PostgreSQL DB +To install the chart with the release name `jfrog-container-registry`: +```bash +helm install + --name jfrog-container-registry \ + --set artifactory.postgresql.enabled=false \ + --set artifactory.database.type=postgresql \ + --set artifactory.database.url='jdbc:postgresql://${DB_HOST}:${DB_PORT}/my-artifactory-db' \ + --set artifactory.database.user=${DB_USER} \ + --set artifactory.database.password=${DB_PASSWORD} \ + jfrog/artifactory-jcr +``` +**NOTE:** You must set `artifactory.postgresql.enabled=false` in order for the chart to use the `database.*` parameters. Without it, they will be ignored! + + +### Install Chart with external PostgreSQL DB +To install the chart with the release name `jfrog-container-registry`: +```bash +helm install + --name jfrog-container-registry \ + --set artifactory.postgresql.enabled=false \ + --set artifactory.database.type=postgresql \ + --set artifactory.database.url='jdbc:postgresql://${DB_HOST}:${DB_PORT}/my-artifactory-db' \ + --set artifactory.database.user=${DB_USER} \ + --set artifactory.database.password=${DB_PASSWORD} \ + jfrog/artifactory-jcr +``` +**NOTE:** You must set `artifactory.postgresql.enabled=false` in order for the chart to use the `database.*` parameters. Without it, they will be ignored! + + +### Install Chart with external Other DB +There are cases where you will want to use a different database and not the enclosed **PostgreSQL**. +See more details on [configuring the database](https://www.jfrog.com/confluence/display/RTF/Configuring+the+Database) +> The official Artifactory Docker images include the PostgreSQL database driver. +> For other database types, you will have to add the relevant database driver to Artifactory's tomcat/lib + + + + +To install the chart with the release name `jfrog-container-registry`: +```bash +helm install + --name jfrog-container-registry \ + --set artifactory.postgresql.enabled=false \ + --set artifactory.artifactory.preStartCommand="wget -O /opt/jfrog/artifactory/tomcat/lib/mysql-connector-java-5.1.41.jar https://jcenter.bintray.com/mysql/mysql-connector-java/5.1.41/mysql-connector-java-5.1.41.jar" \ + --set artifactory.database.type=mysql \ + --set artifactory.database.host=${DB_HOST} \ + --set artifactory.database.port=${DB_PORT} \ + --set artifactory.database.user=${DB_USER} \ + --set artifactory.database.password=${DB_PASSWORD} \ + jfrog/artifactory-jcr +``` +**NOTE:** You must set `postgresql.enabled=false` in order for the chart to use the `database.*` parameters. Without it, they will be ignored! + + +### Accessing JFrog Container Registry +**NOTE:** If using artifactory or nginx service type `LoadBalancer`, it might take a few minutes for JFrog Container Registry's public IP to become available. + +### Updating JFrog Container Registry +Once you have a new chart version, you can upgrade your deployment with +```bash +helm upgrade jfrog-container-registry jfrog/artifactory-jcr +``` + +### Deleting JFrog Container Registry +```bash +helm delete --purge jfrog-container-registry +``` +This will delete your JFrog Container Registry deployment.
+**NOTE:** You might have left behind persistent volumes. You should explicitly delete them with +```bash +kubectl delete pvc ... +kubectl delete pv ... +``` + +## Database +The JFrog Container Registry chart comes with PostgreSQL deployed by default.
+For details on the PostgreSQL configuration or customising the database, Look at the options described in the [Artifactory helm chart](https://github.com/jfrog/charts/tree/master/stable/artifactory). + +## Configuration +The following table lists the **basic** configurable parameters of the JFrog Container Registry chart and their default values. + +**NOTE:** All supported parameters are documented in the main [artifactory helm chart](https://github.com/jfrog/charts/tree/master/stable/artifactory). + +| Parameter | Description | Default | +|------------------------------------------------|-----------------------------------|---------------------------------------------------| +| `artifactory.artifactory.image.repository` | Container image | `docker.bintray.io/jfrog/artifactory-jcr` | +| `artifactory.artifactory.image.version` | Container tag | `.Chart.AppVersion` | +| `artifactory.artifactory.resources` | Artifactory container resources | `{}` | +| `artifactory.artifactory.javaOpts` | Artifactory Java options | `{}` | +| `artifactory.nginx.enabled` | Deploy nginx server | `true` | +| `artifactory.nginx.service.type` | Nginx service type | `LoadBalancer` | +| `artifactory.nginx.tlsSecretName` | TLS secret for Nginx pod | `` | +| `artifactory.ingress.enabled` | Enable Ingress (should come with `artifactory.nginx.enabled=false`) | `false` | +| `artifactory.ingress.tls` | Ingress TLS configuration (YAML) | `[]` | +| `artifactory.postgresql.enabled` | Use the Artifactory PostgreSQL sub chart | `true` | +| `artifactory.database` | Custom database configuration (if not using bundled PostgreSQL sub-chart) | | +| `postgresql.enabled` | Enable the Artifactory PostgreSQL sub chart | `true` | + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. + +### Ingress and TLS +To get Helm to create an ingress object with a hostname, add these two lines to your Helm command: +```bash +helm install --name artifactory \ + --set artifactory.nginx.enabled=false \ + --set artifactory.ingress.enabled=true \ + --set artifactory.ingress.hosts[0]="artifactory.company.com" \ + --set artifactory.artifactory.service.type=NodePort \ + jfrog/artifactory-jcr +``` + +To manually configure TLS, first create/retrieve a key & certificate pair for the address(es) you wish to protect. Then create a TLS secret in the namespace: + +```bash +kubectl create secret tls artifactory-tls --cert=path/to/tls.cert --key=path/to/tls.key +``` + +Include the secret's name, along with the desired hostnames, in the Artifactory Ingress TLS section of your custom `values.yaml` file: + +```yaml +artifactory: + artifactory: + ingress: + ## If true, Artifactory Ingress will be created + ## + enabled: true + + ## Artifactory Ingress hostnames + ## Must be provided if Ingress is enabled + ## + hosts: + - jfrog-container-registry.domain.com + annotations: + kubernetes.io/tls-acme: "true" + ## Artifactory Ingress TLS configuration + ## Secrets must be manually created in the namespace + ## + tls: + - secretName: artifactory-tls + hosts: + - jfrog-container-registry.domain.com +``` + +## Useful links +https://www.jfrog.com +https://www.jfrog.com/confluence/