added repo
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
databaseUpgradeReady: true
|
||||
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
persistence:
|
||||
enabled: false
|
||||
artifactory:
|
||||
persistence:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
access:
|
||||
accessConfig:
|
||||
security:
|
||||
tls: true
|
||||
resetAccessCAKeys: true
|
||||
@@ -0,0 +1,21 @@
|
||||
# Leave this file empty to ensure that CI runs builds against the default configuration in values.yaml.
|
||||
databaseUpgradeReady: true
|
||||
|
||||
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
persistence:
|
||||
enabled: false
|
||||
artifactory:
|
||||
persistence:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
@@ -0,0 +1,18 @@
|
||||
databaseUpgradeReady: true
|
||||
|
||||
postgresql:
|
||||
enabled: false
|
||||
artifactory:
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
persistence:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
@@ -0,0 +1,247 @@
|
||||
databaseUpgradeReady: true
|
||||
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
persistence:
|
||||
enabled: false
|
||||
artifactory:
|
||||
persistence:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
customInitContainersBegin: |
|
||||
- name: "custom-init-begin-local"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
command:
|
||||
- 'sh'
|
||||
- '-c'
|
||||
- echo "running in local"
|
||||
volumeMounts:
|
||||
- mountPath: "{{ .Values.artifactory.persistence.mountPath }}"
|
||||
name: artifactory-volume
|
||||
customInitContainers: |
|
||||
- name: "custom-init-local"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
command:
|
||||
- 'sh'
|
||||
- '-c'
|
||||
- echo "running in local"
|
||||
volumeMounts:
|
||||
- mountPath: "{{ .Values.artifactory.persistence.mountPath }}"
|
||||
name: artifactory-volume
|
||||
# Add custom volumes
|
||||
customVolumes: |
|
||||
- name: custom-script-local
|
||||
emptyDir:
|
||||
sizeLimit: 100Mi
|
||||
# Add custom volumesMounts
|
||||
customVolumeMounts: |
|
||||
- name: custom-script-local
|
||||
mountPath: "/scriptslocal"
|
||||
# Add custom sidecar containers
|
||||
customSidecarContainers: |
|
||||
- name: "sidecar-list-local"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- NET_RAW
|
||||
command: ["sh","-c","echo 'Sidecar is running in local' >> /scriptslocal/sidecarlocal.txt; cat /scriptslocal/sidecarlocal.txt; while true; do sleep 30; done"]
|
||||
volumeMounts:
|
||||
- mountPath: "/scriptslocal"
|
||||
name: custom-script-local
|
||||
resources:
|
||||
requests:
|
||||
memory: "32Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
|
||||
global:
|
||||
masterKey: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
|
||||
joinKey: EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
|
||||
customInitContainersBegin: |
|
||||
- name: "custom-init-begin-global"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
command:
|
||||
- 'sh'
|
||||
- '-c'
|
||||
- echo "running in global"
|
||||
volumeMounts:
|
||||
- mountPath: "{{ .Values.artifactory.persistence.mountPath }}"
|
||||
name: artifactory-volume
|
||||
customInitContainers: |
|
||||
- name: "custom-init-global"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
command:
|
||||
- 'sh'
|
||||
- '-c'
|
||||
- echo "running in global"
|
||||
volumeMounts:
|
||||
- mountPath: "{{ .Values.artifactory.persistence.mountPath }}"
|
||||
name: artifactory-volume
|
||||
# Add custom volumes
|
||||
customVolumes: |
|
||||
- name: custom-script-global
|
||||
emptyDir:
|
||||
sizeLimit: 100Mi
|
||||
# Add custom volumesMounts
|
||||
customVolumeMounts: |
|
||||
- name: custom-script-global
|
||||
mountPath: "/scripts"
|
||||
# Add custom sidecar containers
|
||||
customSidecarContainers: |
|
||||
- name: "sidecar-list-global"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- NET_RAW
|
||||
command: ["sh","-c","echo 'Sidecar is running in global' >> /scripts/sidecarglobal.txt; cat /scripts/sidecarglobal.txt; while true; do sleep 30; done"]
|
||||
volumeMounts:
|
||||
- mountPath: "/scripts"
|
||||
name: custom-script-global
|
||||
resources:
|
||||
requests:
|
||||
memory: "32Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
|
||||
nginx:
|
||||
customInitContainers: |
|
||||
- name: "custom-init-begin-nginx"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
command:
|
||||
- 'sh'
|
||||
- '-c'
|
||||
- echo "running in nginx"
|
||||
volumeMounts:
|
||||
- mountPath: "{{ .Values.artifactory.persistence.mountPath }}"
|
||||
name: custom-script-local
|
||||
customSidecarContainers: |
|
||||
- name: "sidecar-list-nginx"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- NET_RAW
|
||||
command: ["sh","-c","echo 'Sidecar is running in local' >> /scriptslocal/sidecarlocal.txt; cat /scriptslocal/sidecarlocal.txt; while true; do sleep 30; done"]
|
||||
volumeMounts:
|
||||
- mountPath: "/scriptslocal"
|
||||
name: custom-script-local
|
||||
resources:
|
||||
requests:
|
||||
memory: "32Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
# Add custom volumes
|
||||
customVolumes: |
|
||||
- name: custom-script-local
|
||||
emptyDir:
|
||||
sizeLimit: 100Mi
|
||||
|
||||
artifactoryConf: |
|
||||
{{- if .Values.nginx.https.enabled }}
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
ssl_certificate {{ .Values.nginx.persistence.mountPath }}/ssl/tls.crt;
|
||||
ssl_certificate_key {{ .Values.nginx.persistence.mountPath }}/ssl/tls.key;
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_prefer_server_ciphers on;
|
||||
{{- end }}
|
||||
## server configuration
|
||||
server {
|
||||
listen 8088;
|
||||
{{- if .Values.nginx.internalPortHttps }}
|
||||
listen {{ .Values.nginx.internalPortHttps }} ssl;
|
||||
{{- else -}}
|
||||
{{- if .Values.nginx.https.enabled }}
|
||||
listen {{ .Values.nginx.https.internalPort }} ssl;
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.nginx.internalPortHttp }}
|
||||
listen {{ .Values.nginx.internalPortHttp }};
|
||||
{{- else -}}
|
||||
{{- if .Values.nginx.http.enabled }}
|
||||
listen {{ .Values.nginx.http.internalPort }};
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
server_name ~(?<repo>.+)\.{{ include "artifactory.fullname" . }} {{ include "artifactory.fullname" . }}
|
||||
{{- range .Values.ingress.hosts -}}
|
||||
{{- if contains "." . -}}
|
||||
{{ "" | indent 0 }} ~(?<repo>.+)\.{{ . }}
|
||||
{{- end -}}
|
||||
{{- end -}};
|
||||
|
||||
if ($http_x_forwarded_proto = '') {
|
||||
set $http_x_forwarded_proto $scheme;
|
||||
}
|
||||
## Application specific logs
|
||||
## access_log /var/log/nginx/artifactory-access.log timing;
|
||||
## error_log /var/log/nginx/artifactory-error.log;
|
||||
rewrite ^/artifactory/?$ / redirect;
|
||||
if ( $repo != "" ) {
|
||||
rewrite ^/(v1|v2)/(.*) /artifactory/api/docker/$repo/$1/$2 break;
|
||||
}
|
||||
chunked_transfer_encoding on;
|
||||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
proxy_read_timeout 900;
|
||||
proxy_pass_header Server;
|
||||
proxy_cookie_path ~*^/.* /;
|
||||
proxy_pass {{ include "artifactory.scheme" . }}://{{ include "artifactory.fullname" . }}:{{ .Values.artifactory.externalPort }}/;
|
||||
{{- if .Values.nginx.service.ssloffload}}
|
||||
proxy_set_header X-JFrog-Override-Base-Url $http_x_forwarded_proto://$host;
|
||||
{{- else }}
|
||||
proxy_set_header X-JFrog-Override-Base-Url $http_x_forwarded_proto://$host:$server_port;
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
{{- end }}
|
||||
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
|
||||
location /artifactory/ {
|
||||
if ( $request_uri ~ ^/artifactory/(.*)$ ) {
|
||||
proxy_pass {{ include "artifactory.scheme" . }}://{{ include "artifactory.fullname" . }}:{{ .Values.artifactory.externalArtifactoryPort }}/artifactory/$1;
|
||||
}
|
||||
proxy_pass {{ include "artifactory.scheme" . }}://{{ include "artifactory.fullname" . }}:{{ .Values.artifactory.externalArtifactoryPort }}/artifactory/;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
## A list of custom ports to expose on the NGINX pod. Follows the conventional Kubernetes yaml syntax for container ports.
|
||||
customPorts:
|
||||
- containerPort: 8088
|
||||
name: http2
|
||||
service:
|
||||
## A list of custom ports to expose through the Ingress controller service. Follows the conventional Kubernetes yaml syntax for service ports.
|
||||
customPorts:
|
||||
- port: 8088
|
||||
targetPort: 8088
|
||||
protocol: TCP
|
||||
name: http2
|
||||
@@ -0,0 +1,90 @@
|
||||
# Leave this file empty to ensure that CI runs builds against the default configuration in values.yaml.
|
||||
databaseUpgradeReady: true
|
||||
|
||||
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
persistence:
|
||||
enabled: false
|
||||
artifactory:
|
||||
persistence:
|
||||
enabled: false
|
||||
database:
|
||||
maxOpenConnections: 150
|
||||
tomcat:
|
||||
connector:
|
||||
maxThreads: 300
|
||||
resources:
|
||||
requests:
|
||||
memory: "6Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "10Gi"
|
||||
cpu: "8"
|
||||
javaOpts:
|
||||
xms: "8g"
|
||||
xmx: "10g"
|
||||
access:
|
||||
database:
|
||||
maxOpenConnections: 150
|
||||
tomcat:
|
||||
connector:
|
||||
maxThreads: 100
|
||||
router:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
frontend:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
metadata:
|
||||
database:
|
||||
maxOpenConnections: 150
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
event:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
jfconnect:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
integration:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
observability:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
@@ -0,0 +1,90 @@
|
||||
# Leave this file empty to ensure that CI runs builds against the default configuration in values.yaml.
|
||||
databaseUpgradeReady: true
|
||||
|
||||
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
persistence:
|
||||
enabled: false
|
||||
artifactory:
|
||||
persistence:
|
||||
enabled: false
|
||||
database:
|
||||
maxOpenConnections: 100
|
||||
tomcat:
|
||||
connector:
|
||||
maxThreads: 200
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "8Gi"
|
||||
cpu: "6"
|
||||
javaOpts:
|
||||
xms: "6g"
|
||||
xmx: "8g"
|
||||
access:
|
||||
database:
|
||||
maxOpenConnections: 100
|
||||
tomcat:
|
||||
connector:
|
||||
maxThreads: 50
|
||||
router:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
frontend:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
metadata:
|
||||
database:
|
||||
maxOpenConnections: 100
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
event:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
jfconnect:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
integration:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
observability:
|
||||
resources:
|
||||
requests:
|
||||
memory: "200Mi"
|
||||
cpu: "200m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
@@ -0,0 +1,21 @@
|
||||
databaseUpgradeReady: true
|
||||
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
persistence:
|
||||
enabled: false
|
||||
artifactory:
|
||||
migration:
|
||||
enabled: false
|
||||
persistence:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
@@ -0,0 +1,42 @@
|
||||
# Leave this file empty to ensure that CI runs builds against the default configuration in values.yaml.
|
||||
databaseUpgradeReady: true
|
||||
|
||||
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
persistence:
|
||||
enabled: false
|
||||
artifactory:
|
||||
persistence:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
|
||||
nginx:
|
||||
customVolumes: |
|
||||
- name: scripts
|
||||
configMap:
|
||||
name: {{ template "artifactory.fullname" . }}-nginx-scripts
|
||||
defaultMode: 0550
|
||||
customVolumeMounts: |
|
||||
- name: scripts
|
||||
mountPath: /var/opt/jfrog/nginx/scripts/
|
||||
customCommand:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
# watch for configmap changes
|
||||
/sbin/inotifyd /var/opt/jfrog/nginx/scripts/configreloader.sh {{ .Values.nginx.persistence.mountPath -}}/conf.d:n &
|
||||
{{ if .Values.nginx.https.enabled -}}
|
||||
# watch for tls secret changes
|
||||
/sbin/inotifyd /var/opt/jfrog/nginx/scripts/configreloader.sh {{ .Values.nginx.persistence.mountPath -}}/ssl:n &
|
||||
{{ end -}}
|
||||
nginx -g 'daemon off;'
|
||||
@@ -0,0 +1,113 @@
|
||||
databaseUpgradeReady: true
|
||||
artifactory:
|
||||
joinKey: EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
|
||||
masterKey: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
|
||||
persistence:
|
||||
enabled: false
|
||||
replicator:
|
||||
enabled: true
|
||||
ingress:
|
||||
name:
|
||||
hosts: []
|
||||
className: "testclass1"
|
||||
trackerIngress:
|
||||
enabled: true
|
||||
className: "testclass2"
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
|
||||
access:
|
||||
accessConfig:
|
||||
security:
|
||||
tls: true
|
||||
resetAccessCAKeys: true
|
||||
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
postgresqlExtendedConf:
|
||||
maxConnections: 102
|
||||
persistence:
|
||||
enabled: false
|
||||
|
||||
rbac:
|
||||
create: true
|
||||
serviceAccount:
|
||||
create: true
|
||||
automountServiceAccountToken: true
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: "testclass"
|
||||
hosts:
|
||||
- demonow.xyz
|
||||
nginx:
|
||||
enabled: false
|
||||
jfconnect:
|
||||
enabled: true
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
mc:
|
||||
enabled: true
|
||||
splitServicesToContainers: true
|
||||
|
||||
router:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
frontend:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
metadata:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
event:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
integration:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
observability:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
@@ -0,0 +1,184 @@
|
||||
databaseUpgradeReady: true
|
||||
artifactory:
|
||||
replicaCount: 1
|
||||
joinKey: EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
|
||||
masterKey: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
|
||||
persistence:
|
||||
enabled: false
|
||||
replicator:
|
||||
enabled: true
|
||||
ingress:
|
||||
name:
|
||||
hosts: []
|
||||
className: "testclass1"
|
||||
trackerIngress:
|
||||
enabled: true
|
||||
className: "testclass2"
|
||||
# Add lifecycle hooks for replicator container
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the replicator postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the replicator postStart handler >> /tmp/message"]
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
|
||||
# Add lifecycle hooks for artifactory container
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the artifactory postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the artifactory postStart handler >> /tmp/message"]
|
||||
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
postgresqlExtendedConf:
|
||||
maxConnections: 100
|
||||
persistence:
|
||||
enabled: false
|
||||
|
||||
rbac:
|
||||
create: true
|
||||
serviceAccount:
|
||||
create: true
|
||||
automountServiceAccountToken: true
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: "testclass"
|
||||
hosts:
|
||||
- demonow.xyz
|
||||
nginx:
|
||||
enabled: false
|
||||
jfconnect:
|
||||
enabled: true
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
# Add lifecycle hooks for jfconect container
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the jfconnect postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the jfconnect postStart handler >> /tmp/message"]
|
||||
|
||||
|
||||
mc:
|
||||
enabled: true
|
||||
splitServicesToContainers: true
|
||||
|
||||
router:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
# Add lifecycle hooks for router container
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the router postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the router postStart handler >> /tmp/message"]
|
||||
|
||||
frontend:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
# Add lifecycle hooks for frontend container
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the frontend postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the frontend postStart handler >> /tmp/message"]
|
||||
|
||||
metadata:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the metadata postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the metadata postStart handler >> /tmp/message"]
|
||||
|
||||
event:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the event postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the event postStart handler >> /tmp/message"]
|
||||
|
||||
integration:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the integration postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the integration postStart handler >> /tmp/message"]
|
||||
|
||||
observability:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the observability postStart handler >> /tmp/message"]
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "echo Hello from the observability postStart handler >> /tmp/message"]
|
||||
@@ -0,0 +1,90 @@
|
||||
# Leave this file empty to ensure that CI runs builds against the default configuration in values.yaml.
|
||||
databaseUpgradeReady: true
|
||||
|
||||
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
persistence:
|
||||
enabled: false
|
||||
artifactory:
|
||||
persistence:
|
||||
enabled: false
|
||||
database:
|
||||
maxOpenConnections: 80
|
||||
tomcat:
|
||||
connector:
|
||||
maxThreads: 200
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "6g"
|
||||
access:
|
||||
database:
|
||||
maxOpenConnections: 80
|
||||
tomcat:
|
||||
connector:
|
||||
maxThreads: 50
|
||||
router:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
frontend:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
metadata:
|
||||
database:
|
||||
maxOpenConnections: 80
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
event:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
jfconnect:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
integration:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
observability:
|
||||
resources:
|
||||
requests:
|
||||
memory: "100Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
@@ -0,0 +1,94 @@
|
||||
databaseUpgradeReady: true
|
||||
artifactory:
|
||||
replicaCount: 3
|
||||
joinKey: EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
|
||||
masterKey: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
|
||||
unifiedSecretInstallation: false
|
||||
openMetrics:
|
||||
enabled: true
|
||||
persistence:
|
||||
enabled: false
|
||||
replicator:
|
||||
name: replicator
|
||||
enabled: true
|
||||
ingress:
|
||||
name:
|
||||
hosts: []
|
||||
className: "testclass1"
|
||||
trackerIngress:
|
||||
enabled: true
|
||||
className: "testclass2"
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "6Gi"
|
||||
cpu: "4"
|
||||
javaOpts:
|
||||
xms: "4g"
|
||||
xmx: "4g"
|
||||
statefulset:
|
||||
annotations:
|
||||
artifactory: test
|
||||
|
||||
postgresql:
|
||||
postgresqlPassword: password
|
||||
postgresqlExtendedConf:
|
||||
maxConnections: 100
|
||||
persistence:
|
||||
enabled: false
|
||||
|
||||
rbac:
|
||||
create: true
|
||||
serviceAccount:
|
||||
create: true
|
||||
automountServiceAccountToken: true
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: "testclass"
|
||||
hosts:
|
||||
- demonow.xyz
|
||||
nginx:
|
||||
enabled: false
|
||||
|
||||
jfconnect:
|
||||
enabled: false
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
minReplicas: 1
|
||||
maxReplicas: 3
|
||||
targetCPUUtilizationPercentage: 70
|
||||
|
||||
## filebeat sidecar
|
||||
filebeat:
|
||||
enabled: true
|
||||
filebeatYml: |
|
||||
logging.level: info
|
||||
path.data: {{ .Values.artifactory.persistence.mountPath }}/log/filebeat
|
||||
name: artifactory-filebeat
|
||||
queue.spool:
|
||||
file:
|
||||
permissions: 0760
|
||||
filebeat.inputs:
|
||||
- type: log
|
||||
enabled: true
|
||||
close_eof: ${CLOSE:false}
|
||||
paths:
|
||||
- {{ .Values.artifactory.persistence.mountPath }}/log/*.log
|
||||
fields:
|
||||
service: "jfrt"
|
||||
log_type: "artifactory"
|
||||
output.file:
|
||||
path: "/tmp/filebeat"
|
||||
filename: filebeat
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
#!/usr/bin/env bash -e
|
||||
curl --fail 127.0.0.1:5066
|
||||
Reference in New Issue
Block a user