Skip to content

Commit

Permalink
PLAT-453: Bump stegostore container version and template formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pselliotc committed Jul 24, 2024
1 parent d680fed commit ba8e56a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ spec:
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::{{.Values.aws.resourcePrefix}}{{.Values.stackId}}"
"arn:aws:s3:::{{.Values.aws.resourcePrefix}}{{.Values.stackId}}/*"
"arn:aws:s3:::{{ .Values.aws.resourcePrefix }}{{ .Values.stackId }}",
"arn:aws:s3:::{{ .Values.aws.resourcePrefix }}{{ .Values.stackId }}/*"
"arn:aws:s3:::{{.Values.aws.s3Backups.bucketName}}",
"arn:aws:s3:::{{.Values.aws.s3Backups.bucketName}}/{{.Values.aws.resourcePrefix}}{{.Values.stackId}}/*"
]
Expand All @@ -39,9 +39,7 @@ spec:
],
"Condition": {
"ForAnyValue:StringLike": {
"kms:ResourceAliases": [
"alias/{{ .Values.aws.resourcePrefix }}{{ .Values.stackId }}",
]
"kms:ResourceAliases": "alias/{{ .Values.aws.resourcePrefix }}{{ .Values.stackId }}"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ spec:
name: postgres-app
key: port
- name: S3PATH
value: "s3://{{.Values.aws.s3Backups.bucketName}}/{{.Values.aws.resourcePrefix}}{{.Values.stackId}}/stegostore/"
value: "s3://{{ .Values.aws.s3Backups.bucketName }}/{{ .Values.aws.resourcePrefix }}{{ .Values.stackId }}/stegostore/"
- name: KMS_KEY_ALIAS_NAME
value: {{.Values.aws.resourcePrefix}}{{.Values.stackId}}
value: {{ .Values.aws.resourcePrefix }}{{ .Values.stackId }}
- name: PGHOST
value: "postgres-rw"
restartPolicy: Never
Expand Down
2 changes: 1 addition & 1 deletion charts/cloudnative-pg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ stegostore:
schedule: "0 * * * *"
concurrencyPolicy: Forbid
imageName: portswigger-cloud/stegostore
imageDigest: sha256:3e4771a813ed530a27b5ac6b009e6961a8bc67f9b9e1b386c09bbb60dd05211d
imageDigest: sha256:ab831be05edb2753e6106735ea23afa717ecb1f9c1e61ac847e1c95933309de2
stegosweep:
enabled: true
schedule: "30 1 * * *"
Expand Down

0 comments on commit ba8e56a

Please sign in to comment.