File tree Expand file tree Collapse file tree 6 files changed +50
-33
lines changed
Expand file tree Collapse file tree 6 files changed +50
-33
lines changed Original file line number Diff line number Diff line change 111. Get the application URL by running these commands:
22{{- if .Values.ingress.enabled }}
3+ Just point to this URL in your browser:
34{{- range $host := .Values.ingress.hosts }}
45 {{- range .paths }}
56 http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
Original file line number Diff line number Diff line change 1616 AXELOR_CONFIG_APPLICATION_HOME : " localhost"
1717 AXELOR_CONFIG_APPLICATION_BASE-URL : " localhost"
1818 {{- end }}
19- AXELOR_CONFIG_APPLICATION_MODE : " {{ .Values.config .applicationMode }}"
20- AXELOR_CONFIG_APPLICATION_LOCALE : " {{ .Values.config .applicationLocale }}"
21- AXELOR_CONFIG_DATA_UPLOAD_DIR : " /home/axelor/.axelor /attachments"
22- AXELOR_CONFIG_DATA_UPLOAD_MAX-SIZE : " {{ .Values.config .maxUploadSize }}"
23- AXELOR_CONFIG_DATA_EXPORT_DIR : " /home/axelor/.axelor /export"
24- AXELOR_CONFIG_DATA_IMPORT_DEMO-DATA : " {{ .Values.config .importDemoData}}"
19+ AXELOR_CONFIG_APPLICATION_MODE : " {{ .Values.axelor .applicationMode }}"
20+ AXELOR_CONFIG_APPLICATION_LOCALE : " {{ .Values.axelor .applicationLocale }}"
21+ AXELOR_CONFIG_DATA_UPLOAD_DIR : " /opt/data /attachments"
22+ AXELOR_CONFIG_DATA_UPLOAD_MAX-SIZE : " {{ .Values.axelor .maxUploadSize }}"
23+ AXELOR_CONFIG_DATA_EXPORT_DIR : " /opt/data /export"
24+ AXELOR_CONFIG_DATA_IMPORT_DEMO-DATA : " {{ .Values.axelor .importDemoData}}"
Original file line number Diff line number Diff line change 99 selector :
1010 matchLabels :
1111 {{- include "axelor-open-suite.selectorLabels" . | nindent 6 }}
12+ strategy :
13+ type : Recreate
1214 template :
1315 metadata :
1416 {{- with .Values.podAnnotations }}
@@ -31,21 +33,29 @@ spec:
3133 - configMapRef :
3234 name : {{ include "axelor-open-suite.fullname" . }}
3335 env :
36+ - name : BITNAMI_DEBUG
37+ value : " false"
38+ - name : TOMCAT_USERNAME
39+ value : " user"
40+ - name : TOMCAT_PASSWORD
41+ valueFrom :
42+ secretKeyRef :
43+ name : {{ include "axelor-open-suite.fullname" . }}-tomcat
44+ key : tomcat-password
45+ - name : TOMCAT_ALLOW_REMOTE_MANAGEMENT
46+ value : " 0"
3447 - name : AXELOR_CONFIG_DB_DEFAULT_PASSWORD
3548 valueFrom :
3649 secretKeyRef :
37- key : password
3850 name : {{ .Release.Name }}-postgresql
51+ key : password
3952 volumeMounts :
4053 - name : {{ include "axelor-open-suite.fullname" . }}-data
41- subPath : attachments
42- mountPath : /home/axelor/.axelor/attachments
54+ subPath : tomcat
55+ mountPath : /bitnami/tomcat
4356 - name : {{ include "axelor-open-suite.fullname" . }}-data
44- subPath : export
45- mountPath : /home/axelor/.axelor/export
46- {{/* - name: {{ include "axelor-open-suite.fullname" . }}-data*/}}
47- {{/* subPath: tomcat*/}}
48- {{/* mountPath: /usr/local/tomcat/webapps*/}}
57+ subPath : axelor
58+ mountPath : /opt/data/
4959 ports :
5060 - name : http
5161 containerPort : 8080
Original file line number Diff line number Diff line change 1- {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
1+ {{- if .Values.persistence.enabled }}
22kind : PersistentVolumeClaim
33apiVersion : v1
44metadata :
55 name : {{ include "axelor-open-suite.fullname" . }}-data
6+ labels :
7+ {{- include "axelor-open-suite.labels" . | nindent 4 }}
68spec :
79 {{- if .Values.persistence.storageClass }}
810 storageClassName : {{ .Values.persistence.storageClass | quote }}
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Secret
3+ metadata :
4+ name : {{ include "axelor-open-suite.fullname" . }}-tomcat
5+ labels :
6+ {{- include "axelor-open-suite.labels" . | nindent 4 }}
7+ type : Opaque
8+ data :
9+ tomcat-password : {{ randAlphaNum 10 | b64enc | quote }}
Original file line number Diff line number Diff line change 11image :
22 repository : pmoscode/axelor-open-suite
3- pullPolicy : IfNotPresent
3+ pullPolicy : Always
44 tag : " "
55
66nameOverride : " "
77fullnameOverride : " "
88
9- config :
9+ axelor :
1010 applicationMode : dev # or prod
1111 applicationLocale : de_DE
1212 maxUploadSize : 100 # in MB
@@ -23,15 +23,14 @@ serviceAccount:
2323
2424podAnnotations : {}
2525
26- podSecurityContext : {}
27- # fsGroup: 2000
26+ podSecurityContext :
27+ fsGroup : 1001
2828
2929securityContext :
3030 runAsNonRoot : true
3131 privileged : false
3232 allowPrivilegeEscalation : false
33- runAsUser : 10101
34- runAsGroup : 10101
33+ runAsUser : 1001
3534
3635service :
3736 type : ClusterIP
@@ -41,8 +40,8 @@ ingress:
4140 enabled : false
4241 className : " "
4342 annotations :
44- nginx.org /proxy-read -timeout : " 360s "
45- nginx.org /proxy-send -timeout : " 360s "
43+ nginx.ingress.kubernetes.io /proxy-send -timeout : " 1800 "
44+ nginx.ingress.kubernetes.io /proxy-read -timeout : " 1800 "
4645 # kubernetes.io/ingress.class: nginx
4746 # kubernetes.io/tls-acme: "true"
4847 hosts :
@@ -55,17 +54,13 @@ ingress:
5554 # hosts:
5655 # - chart-example.local
5756
58- resources : {}
59- # We usually recommend not to specify default resources and to leave this as a conscious
60- # choice for the user. This also increases chances charts run on environments with little
61- # resources, such as Minikube. If you do want to specify resources, uncomment the following
62- # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
57+ resources :
58+ requests :
59+ cpu : 300m
60+ memory : 512Mi
6361 # limits:
6462 # cpu: 100m
6563 # memory: 128Mi
66- # requests:
67- # cpu: 100m
68- # memory: 128Mi
6964
7065nodeSelector : {}
7166
@@ -76,9 +71,9 @@ affinity: {}
7671persistence :
7772 enabled : false
7873 existingClaim : " "
79- storageClass : " - "
74+ storageClass : " "
8075 accessMode : ReadWriteOnce
81- size : 50G
76+ size : 50Gi
8277
8378postgresql :
8479 enabled : true
You can’t perform that action at this time.
0 commit comments