-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
830 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Setup PostgreSQL | ||
description: Deploy PostgreSQL on Kubernetes | ||
inputs: | ||
postgres-replicas: | ||
default: 1 | ||
description: "Number of PostgreSQL replicas" | ||
namespace: | ||
default: "postgres-namespace" | ||
postgres-version: | ||
default: "14.2" | ||
description: "PostgreSQL version" | ||
storage-size: | ||
default: "1Gi" | ||
description: "Storage size for PostgreSQL" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install PostgreSQL | ||
shell: bash | ||
run: | | ||
helm upgrade \ | ||
--install postgresql bitnami/postgresql \ | ||
--set replicaCount=${{ inputs.postgres-replicas }} \ | ||
--set image.tag=${{ inputs.postgres-version }} \ | ||
--set persistence.size=${{ inputs.storage-size }} \ | ||
--create-namespace \ | ||
-n ${{ inputs.namespace }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.