jfrog/artifactory-cpp-ce

Chart version: 3.2.0
Api version: v1
App version: 7.10.2
JFrog Artifactory CE for C++
application
Chart Type
Active
Status
Apache-2.0
License
1401
Downloads
https://charts.jfrog.io
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install artifactory-cpp-ce center/jfrog/artifactory-cpp-ce
Versions (0)

JFrog Artifactory CE for C++ Helm Chart

JFrog Artifactory CE for C++ is a free Artifactory edition to host C/C++ packages in Conan repositories.

Heads up: Our Helm Chart docs are moving to our main documentation site. For Artifactory installers, see Installing Artifactory.

Prerequisites Details

  • Kubernetes 1.12+

Chart Details

This chart will do the following:

  • Deploy JFrog Artifactory CE for C++
  • Deploy an optional Nginx server
  • Deploy an optional PostgreSQL Database
  • Optionally expose Artifactory with Ingress Ingress documentation

Installing the Chart

Add ChartCenter Helm repository

Before installing JFrog helm charts, you need to add the ChartCenter helm repository to your helm client.

helm repo add center https://repo.chartcenter.io
helm repo update

Install Chart

To install the chart with the release name artifactory-cpp-ce:

helm upgrade --install artifactory-cpp-ce --set postgresql.postgresqlPassword=<postgres_password> --namespace artifactory-cpp-ce center/jfrog/artifactory-cpp-ce

Accessing Artifactory CE for C++

NOTE: If using artifactory or nginx service type LoadBalancer, it might take a few minutes for Artifactory CE for C++’s public IP to become available.

Updating Artifactory CE for C++

Once you have a new chart version, you can upgrade your deployment with

helm upgrade artifactory-cpp-ce --namespace artifactory-cpp-ce center/jfrog/artifactory-cpp-ce

Deleting Artifactory CE for C++

On helm v2:

helm delete --purge artifactory-cpp-ce

On helm v3:

helm delete artifactory-cpp-ce --namespace artifactory-cpp-ce                                                                                                                                 
``` 

This will delete your Artifactory CE for C++ deployment.<br>
**NOTE:** You might have left behind persistent volumes. You should explicitly delete them with
```bash
kubectl delete pvc ...
kubectl delete pv ...

Database

The Artifactory CE for C++ 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.

Ingress and TLS

To get Helm to create an ingress object with a hostname, add these two lines to your Helm command:

helm upgrade --install artifactory-cpp-ce \
  --set artifactory.nginx.enabled=false \
  --set artifactory.ingress.enabled=true \
  --set artifactory.ingress.hosts[0]="artifactory.company.com" \
  --set artifactory.artifactory.service.type=NodePort \
  --namespace artifactory-cpp-ce center/jfrog/artifactory-cpp-ce

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:

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:

artifactory:
  artifactory:
    ingress:
      ## If true, Artifactory Ingress will be created
      ##
      enabled: true

      ## Artifactory Ingress hostnames
      ## Must be provided if Ingress is enabled
      ##
      hosts:
        - artifactory-cpp-ce.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:
            - artifactory-cpp-ce.domain.com

Useful links

https://www.jfrog.com https://www.jfrog.com/confluence/