Skip to content

Commit

Permalink
more changes to pvc size after stack upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
TimCsaky committed Nov 28, 2024
1 parent 00f512a commit 304d785
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/environments/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ redis:
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 250Mi
size: 25Mi
resources:
limits:
cpu: 50m
Expand All @@ -177,7 +177,7 @@ redis:
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 250Mi
size: 25Mi
storageClass: netapp-block-standard
persistentVolumeClaimRetentionPolicy:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions .github/environments/values.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ redis:
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 250Mi
size: 25Mi
resources:
limits:
cpu: 50m
Expand All @@ -167,7 +167,7 @@ redis:
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 250Mi
size: 25Mi
storageClass: netapp-block-standard
persistentVolumeClaimRetentionPolicy:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions charts/ches/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: common-hosted-email-service
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.4
version: 1.0.5
kubeVersion: ">= 1.13.0"
description: A microservice for managing access control to S3 Objects
# A chart can be either an 'application' or a 'library' chart.
Expand All @@ -28,7 +28,7 @@ sources:
- https://github.com/bcgov/common-hosted-email-service
dependencies:
- name: postgrescluster
version: 2.0.1
version: 2.0.2
repository: "file://../postgres"
condition: postgres.enabled
alias: postgres
Expand Down
8 changes: 4 additions & 4 deletions charts/ches/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# common-hosted-email-service

![Version: 1.0.4](https://img.shields.io/badge/Version-1.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)
![Version: 1.0.5](https://img.shields.io/badge/Version-1.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)

A microservice for managing access control to S3 Objects

Expand All @@ -22,7 +22,7 @@ Kubernetes: `>= 1.13.0`

| Repository | Name | Version |
|------------|------|---------|
| file://../postgres | postgres(postgrescluster) | 2.0.1 |
| file://../postgres | postgres(postgrescluster) | 2.0.2 |
| https://charts.bitnami.com/bitnami | redis(redis) | 20.0.3 |

## Values
Expand Down Expand Up @@ -99,7 +99,7 @@ Kubernetes: `>= 1.13.0`
| redis.image.registry | string | `"artifacts.developer.gov.bc.ca/docker-remote"` | |
| redis.replica.persistence.accessMode | string | `"ReadWriteOnce"` | |
| redis.replica.persistence.enabled | bool | `true` | |
| redis.replica.persistence.size | string | `"250Mi"` | |
| redis.replica.persistence.size | string | `"25Mi"` | |
| redis.replica.persistentVolumeClaimRetentionPolicy.enabled | bool | `true` | |
| redis.replica.persistentVolumeClaimRetentionPolicy.whenDeleted | string | `"Delete"` | |
| redis.replica.replicaCount | int | `2` | |
Expand All @@ -113,7 +113,7 @@ Kubernetes: `>= 1.13.0`
| redis.sentinel.image.registry | string | `"artifacts.developer.gov.bc.ca/docker-remote"` | |
| redis.sentinel.persistence.accessMode | string | `"ReadWriteOnce"` | |
| redis.sentinel.persistence.enabled | bool | `true` | |
| redis.sentinel.persistence.size | string | `"250Mi"` | |
| redis.sentinel.persistence.size | string | `"25Mi"` | |
| redis.sentinel.persistence.storageClass | string | `"netapp-block-standard"` | |
| redis.sentinel.persistentVolumeClaimRetentionPolicy.enabled | bool | `true` | |
| redis.sentinel.persistentVolumeClaimRetentionPolicy.whenDeleted | string | `"Delete"` | |
Expand Down
5 changes: 1 addition & 4 deletions charts/ches/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,7 @@ kind: NetworkPolicy
metadata:
name: metabase-b160aa-tools-to-postgres
spec:
podSelector:
matchLabels:
postgres-operator.crunchydata.com/cluster: postgres-master
postgres-operator.crunchydata.com/role: replica
podSelector: {}
ingress:
- ports:
- protocol: TCP
Expand Down
4 changes: 2 additions & 2 deletions charts/ches/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ redis:
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 250Mi
size: 25Mi
resources:
limits:
cpu: 50m
Expand All @@ -176,7 +176,7 @@ redis:
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 250Mi
size: 25Mi
storageClass: netapp-block-standard
persistentVolumeClaimRetentionPolicy:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion charts/postgres/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name: postgrescluster
description: A Helm chart for Kubernetes
type: application
# postgrescluster Helm Chart version
version: 2.0.1
version: 2.0.2
# PostgresCluster CRD version
appVersion: 5.5.1
2 changes: 1 addition & 1 deletion charts/postgres/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# postgrescluster

![Version: 2.0.1](https://img.shields.io/badge/Version-2.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.5.1](https://img.shields.io/badge/AppVersion-5.5.1-informational?style=flat-square)
![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.5.1](https://img.shields.io/badge/AppVersion-5.5.1-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.databaseInitSQL.name }}
annotations:
"helm.sh/resource-policy": keep
data:
bootstrap.sql:
{{ toYaml .Values.databaseInitSQL.sql | indent 2 }}
Expand Down

0 comments on commit 304d785

Please sign in to comment.