Skip to content

add S3 preview setup and teardown actions - #8

Merged
stplasim merged 10 commits into
mainfrom
feat/setup-and-teardown-preview-s3
Apr 20, 2026
Merged

add S3 preview setup and teardown actions#8
stplasim merged 10 commits into
mainfrom
feat/setup-and-teardown-preview-s3

Conversation

@stplasim

Copy link
Copy Markdown
Contributor

No description provided.

@stplasim
stplasim marked this pull request as ready for review March 6, 2026 15:58
@stplasim
stplasim requested a review from alexlanz March 6, 2026 15:59
Comment thread setup-s3-preview/job-template.yml Outdated
restartPolicy: Never
containers:
- name: prepare-s3-preview
image: amazon/aws-cli:2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to make this non-configurable, since, in my opinion, it doesn't make much sense to update it independently of the script/CLI.

description: 'Name of the ConfigMap'
required: false
default: 'app-spring-deployment-environments'
namespace:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would place the namespace always at top level.

Comment on lines +14 to +17
secret-name:
description: 'Name of the secret containing credentials'
required: false
default: 'app-secrets'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would place this next to the key variables, because the are related.

Comment on lines +18 to +33
s3-bucket-key:
description: 'Key for S3_BUCKET in ConfigMap'
required: false
default: 'S3_BUCKET'
s3-endpoint-key:
description: 'Key for S3_ENDPOINT in ConfigMap'
required: false
default: 'S3_ENDPOINT'
s3-region-key:
description: 'Key for S3_REGION in ConfigMap'
required: false
default: 'S3_REGION'
s3-root-folder-key:
description: 'Key for S3_ROOT_FOLDER in ConfigMap'
required: false
default: 'S3_ROOT_FOLDER'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would place these next to the config map reference, since they are related.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here with the inputs order.

@stplasim
stplasim force-pushed the feat/setup-and-teardown-preview-s3 branch from ea04bf2 to d9f947c Compare April 20, 2026 06:05
@stplasim
stplasim merged commit 03ee5ca into main Apr 20, 2026
@stplasim
stplasim deleted the feat/setup-and-teardown-preview-s3 branch April 20, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants