File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 - name : Push tag to remote
6060 run : ./gradlew --console=colored pushRelease
6161 shell : bash
62- - uses : aboutbits/github-actions-base/github-create-release@v2
62+ - name : Create GitHub Release
63+ uses : aboutbits/github-actions-base/github-create-release@v2
6364 with :
6465 tag-name : ' v${{ steps.nextVersion.outputs.version }}'
6566 release-description : |
7071 helm install postgresql-operator https://github.com/${{ github.repository }}/releases/download/v${{ steps.nextVersion.outputs.version }}/postgresql-operator-${{ steps.nextVersion.outputs.version }}.tgz
7172 ```
7273
74+ With the Helm chart, the Custom Resource Definitions (CRDs) are installed automatically.
75+ However, if you deploy the operator directly from the OCI image, the CRDs are not automatically applied and must be installed separately.
76+
7377 ### Manual CRD Installation
7478 ```bash
7579 kubectl apply -f https://github.com/${{ github.repository }}/releases/download/v${{ steps.nextVersion.outputs.version }}/clusterconnections.postgresql.aboutbits.it-v1.yml
8690 run : |
8791 gh release upload v${{ steps.nextVersion.outputs.version }} operator/build/helm/kubernetes/*.tgz operator/build/kubernetes/*.postgresql.aboutbits.it-v1.yml
8892 shell : bash
93+ - name : Update README.md
94+ run : |
95+ sed -i "s|releases/download/v[0-9.]*/postgresql-operator-[0-9.]*.tgz|releases/download/v${{ steps.nextVersion.outputs.version }}/postgresql-operator-${{ steps.nextVersion.outputs.version }}.tgz|g" README.md
96+ git add README.md
97+ # Guard against failing if there are no changes
98+ git diff-index --quiet HEAD || git commit -m "Update README.md with version ${{ steps.nextVersion.outputs.version }}"
99+ git push
100+ shell : bash
Original file line number Diff line number Diff line change @@ -31,6 +31,18 @@ AboutBits PostgreSQL Operator is a Kubernetes operator that helps you manage Pos
3131└──────────────────────────────────────────────────────────────────────────┘
3232```
3333
34+ ## Installation
35+
36+ ### Helm Chart
37+
38+ ``` bash
39+ helm install postgresql-operator https://github.com/AboutBits/postgresql-operator/releases/download/v0.1.1/postgresql-operator-0.1.1.tgz
40+ ```
41+
42+ With the Helm chart, the Custom Resource Definitions (CRDs) are installed automatically.
43+ However, if you deploy the operator directly from the OCI image, the CRDs are not automatically applied and must be installed separately.
44+ See the release notes for the [ latest version] ( https://github.com/AboutBits/postgresql-operator/releases/latest ) for more information.
45+
3446## Usage
3547
3648This operator allows you to manage PostgreSQL resources using Kubernetes manifests.
You can’t perform that action at this time.
0 commit comments