diff --git a/charts/portalmodelo/v0.5.0/questions.yaml b/charts/portalmodelo/v0.5.0/questions.yaml index 5a86430..c645b22 100644 --- a/charts/portalmodelo/v0.5.0/questions.yaml +++ b/charts/portalmodelo/v0.5.0/questions.yaml @@ -92,7 +92,7 @@ questions: required: true group: Avançado -- variable: portal.zodbCacheSize +- variable: instance.zodbCacheSize default: 1000 description: "Tamanho do Cache do ZODB (em número de objetos)" type: int diff --git a/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml b/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml index 013d911..ffae9c5 100644 --- a/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml +++ b/charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml @@ -97,7 +97,7 @@ spec: - name: TZ value: {{ .Values.portal.timeZone }} - name: ZODB_CACHE_SIZE - value: "{{ .Values.portal.zodbCacheSize }}" + value: "{{ .Values.instance.zodbCacheSize }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} name: {{ .Release.Name }}-plone diff --git a/charts/portalmodelo/v0.5.0/values.yaml b/charts/portalmodelo/v0.5.0/values.yaml index 73a659e..de62c23 100644 --- a/charts/portalmodelo/v0.5.0/values.yaml +++ b/charts/portalmodelo/v0.5.0/values.yaml @@ -29,9 +29,9 @@ portal: hostname: teste.df.leg.br timeZone: America/Sao_Paulo createAndUpgrade: true - zodbCacheSize: 1000 instance: + zodbCacheSize: 1000 zeoclient: false podAnnotations: {}