Skip to content

Commit

Permalink
feat: update cloud-server helm-chart
Browse files Browse the repository at this point in the history
add PHP_MEMORY_LIMIT env variable
  • Loading branch information
lots0logs committed Aug 9, 2022
1 parent c349da4 commit f9c5104
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/cloud-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- email: dustin@elegantthemes.com
name: Elegant Themes
name: cloud-server
version: 1.0.3
version: 1.0.4
4 changes: 3 additions & 1 deletion charts/cloud-server/templates/cloud-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ spec:
value: {{ .Values.CLOUD_SERVER_REPO_URL | squote }}
- name: IMAGE_VERSION
value: {{ .Values.CLOUD_SERVER_VERSION | squote }}
- name: PHP_MEMORY_LIMIT
value: {{ .Values.PHP_MEMORY_LIMIT | squote }}
- name: PHP_OPCACHE_FILE_CACHE
value: {{ ternary "/var/cache/php" "" (eq "production" .Values.WP_ENV) | squote }}
- name: PHP_OPCACHE_VALIDATE_TIMESTAMPS
Expand Down Expand Up @@ -123,7 +125,7 @@ spec:
memory: 100Mi
limits:
cpu: 4000m
memory: 1024Mi
memory: 3G
startupProbe:
exec:
command:
Expand Down
2 changes: 2 additions & 0 deletions charts/cloud-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ LOGGED_IN_SALT:
NONCE_KEY:
NONCE_SALT:

PHP_MEMORY_LIMIT:

S3_BUCKET_CLOUD_ITEMS:
S3_BUCKET_CLOUD_ITEMS_BACKUP_1:
S3_BUCKET_CLOUD_ITEMS_BACKUP_2:
Expand Down

0 comments on commit f9c5104

Please sign in to comment.