From 821a5f91b8a1fd6dca873786afe0374857819a18 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Fri, 11 Nov 2022 16:31:08 -0600 Subject: [PATCH] add jfrog --- argocd/templates/jfrog-artifactory.yaml | 6 +-- jfrog/Chart.yaml | 4 +- jfrog/values.yaml | 66 +++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 5 deletions(-) diff --git a/argocd/templates/jfrog-artifactory.yaml b/argocd/templates/jfrog-artifactory.yaml index ca47917..33fea03 100644 --- a/argocd/templates/jfrog-artifactory.yaml +++ b/argocd/templates/jfrog-artifactory.yaml @@ -1,16 +1,16 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: nexus-repository-manager + name: jfrog namespace: argocd spec: project: default source: repoURL: https://github.com/DeveloperDurp/homelab.git targetRevision: main - path: nexus-repository-manager + path: jfrog destination: - namespace: nexus-repository-manager + namespace: jfrog name: in-cluster syncPolicy: automated: diff --git a/jfrog/Chart.yaml b/jfrog/Chart.yaml index d9ab6e5..6d711f7 100644 --- a/jfrog/Chart.yaml +++ b/jfrog/Chart.yaml @@ -1,11 +1,11 @@ apiVersion: v2 -name: nexus-repository-manager +name: jfrog-artifactory description: A Helm chart for Kubernetes type: application version: 0.1.0 appVersion: "1.16.0" dependencies: -- name: nexus-repository-manager +- name: artifactory-jcr repository: https://sonatype.github.io/helm3-charts/ version: 42.0.1 diff --git a/jfrog/values.yaml b/jfrog/values.yaml index e69de29..c806140 100644 --- a/jfrog/values.yaml +++ b/jfrog/values.yaml @@ -0,0 +1,66 @@ +artifactory-jcr: + + artifactory: + + ## Artifactory + ## See full list of supported Artifactory options and documentation in artifactory chart: https://github.com/jfrog/charts/tree/master/stable/artifactory + artifactory: + ## Default tag is from the artifactory sub-chart in the requirements.yaml + image: + registry: releases-docker.jfrog.io + repository: jfrog/artifactory-jcr + + resources: + requests: + memory: "1Gi" + cpu: "500m" + limits: + memory: "4Gi" + + installer: + platform: jcr-helm + + installerInfo: '{"productId": "Helm_artifactory-jcr/{{ .Chart.Version }}", "features": [ { "featureId": "Platform/{{ default "kubernetes" .Values.installer.platform }}"}]}' + ## Nginx + ## See full list of supported Nginx options and documentation in artifactory chart: https://github.com/jfrog/charts/tree/master/stable/artifactory + nginx: + enabled: false + tlsSecretName: "" + service: + type: LoadBalancer + + ## Ingress + ## See full list of supported Ingress options and documentation in artifactory chart: https://github.com/jfrog/charts/tree/master/stable/artifactory + ingress: + enabled: true + ingressClassName: nginx + annotations: + nginx.ingress.kubernetes.io/proxy-body-size: "0" + cert-manager.io/cluster-issuer: letsencrypt-production + hostPath: / + hostRepo: jcr.durp.info + tls: + - secretName: jcr.durp.info + hosts: + - jcr.durp.info + ## PostgreSQL + ## See list of supported postgresql options and documentation in artifactory chart: https://github.com/jfrog/charts/tree/master/stable/artifactory + ## Configuration values for the PostgreSQL dependency sub-chart + ## ref: https://github.com/bitnami/charts/blob/master/bitnami/postgresql/README.md + postgresql: + enabled: true + + ## This key is required for upgrades to protect old PostgreSQL chart's breaking changes. + databaseUpgradeReady: "yes" + + ## If NOT using the PostgreSQL in this chart (artifactory.postgresql.enabled=false), + ## specify custom database details here or leave empty and Artifactory will use embedded derby. + ## See full list of database options and documentation in artifactory chart: https://github.com/jfrog/charts/tree/master/stable/artifactory + # database: + + jfconnect: + enabled: false + + ## Enable the PostgreSQL sub chart + postgresql: + enabled: true