feat: testing jfrog-container-registry #11
6
apps/base/jfrog/kustomization.yaml
Normal file
6
apps/base/jfrog/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
5
apps/base/jfrog/namespace.yaml
Normal file
5
apps/base/jfrog/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: jfrog
|
||||||
14
apps/overlays/au-syd1/jfrog/kustomization.yaml
Normal file
14
apps/overlays/au-syd1/jfrog/kustomization.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ../../../base/jfrog
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: artifactory-jcr
|
||||||
|
repo: https://charts.jfrog.io
|
||||||
|
version: "107.133.10"
|
||||||
|
releaseName: artifactory-jcr
|
||||||
|
namespace: jfrog
|
||||||
|
valuesFile: values.yaml
|
||||||
63
apps/overlays/au-syd1/jfrog/values.yaml
Normal file
63
apps/overlays/au-syd1/jfrog/values.yaml
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
---
|
||||||
|
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"
|
||||||
|
# cpu: "1"
|
||||||
|
## The following Java options are passed to the java process running Artifactory.
|
||||||
|
## You should set them according to the resources set above.
|
||||||
|
## IMPORTANT: Make sure resources.limits.memory is at least 1G more than Xmx.
|
||||||
|
javaOpts: {}
|
||||||
|
# xms: "1g"
|
||||||
|
# xmx: "3g"
|
||||||
|
# other: ""
|
||||||
|
installer:
|
||||||
|
platform: jcr-helm
|
||||||
|
## Nginx
|
||||||
|
## See full list of supported Nginx options and documentation in artifactory chart: https://github.com/jfrog/charts/tree/master/stable/artifactory
|
||||||
|
nginx:
|
||||||
|
enabled: true
|
||||||
|
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: false
|
||||||
|
tls:
|
||||||
|
## 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
|
||||||
|
rtfs:
|
||||||
|
enabled: false
|
||||||
|
onemodel:
|
||||||
|
enabled: false
|
||||||
|
evidence:
|
||||||
|
enabled: false
|
||||||
|
apptrust:
|
||||||
|
enabled: false
|
||||||
|
unifiedpolicy:
|
||||||
|
enabled: false
|
||||||
|
platformfederation:
|
||||||
|
enabled: false
|
||||||
@ -12,6 +12,7 @@ spec:
|
|||||||
directories:
|
directories:
|
||||||
- path: apps/overlays/*/reflector-system
|
- path: apps/overlays/*/reflector-system
|
||||||
- path: apps/overlays/*/reloader-system
|
- path: apps/overlays/*/reloader-system
|
||||||
|
- path: apps/overlays/*/jfrog
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: 'platform-{{path[3]}}' # cluster-app format (e.g., platform-reflector-system)
|
name: 'platform-{{path[3]}}' # cluster-app format (e.g., platform-reflector-system)
|
||||||
|
|||||||
@ -12,6 +12,8 @@ spec:
|
|||||||
destinations:
|
destinations:
|
||||||
- namespace: '*-system'
|
- namespace: '*-system'
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
- namespace: 'jfrog'
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
clusterResourceWhitelist:
|
clusterResourceWhitelist:
|
||||||
- group: ''
|
- group: ''
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user