diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2625ae3..791602c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,41 +15,41 @@ jobs: with: sarif_file: "gitleaks.sarif" - lint-tools-chart: - runs-on: ubuntu-latest - environment: - name: tools - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Authenticate to OpenShift Linter namespace - uses: redhat-actions/oc-login@v1 - with: - openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }} - openshift_token: ${{ secrets.OPENSHIFT_LINTER_TOKEN }} - insecure_skip_tls_verify: true - - run: | - set -euo pipefail; \ - helm dep up ./charts/tools; \ - helm template -f ./charts/tools/values.yaml crunchy-postgres ./charts/tools --validate; + # lint-tools-chart: + # runs-on: ubuntu-latest + # environment: + # name: tools + # steps: + # - name: Checkout + # uses: actions/checkout@v2 + # - name: Authenticate to OpenShift Linter namespace + # uses: redhat-actions/oc-login@v1 + # with: + # openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }} + # openshift_token: ${{ secrets.OPENSHIFT_LINTER_TOKEN }} + # insecure_skip_tls_verify: true + # - run: | + # set -euo pipefail; \ + # helm dep up ./charts/tools; \ + # helm template -f ./charts/tools/values.yaml crunchy-postgres ./charts/tools --validate; - lint-crunchy-postgres-chart: - runs-on: ubuntu-latest - environment: - name: tools - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Authenticate to OpenShift Linter namespace - uses: redhat-actions/oc-login@v1 - with: - openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }} - openshift_token: ${{ secrets.OPENSHIFT_LINTER_TOKEN }} - insecure_skip_tls_verify: true - - run: | - set -euo pipefail; \ - helm dep up ./charts/crunchy-postgres; \ - helm template -f ./charts/crunchy-postgres/values.yaml crunchy-postgres ./charts/crunchy-postgres --validate; + # lint-crunchy-postgres-chart: + # runs-on: ubuntu-latest + # environment: + # name: tools + # steps: + # - name: Checkout + # uses: actions/checkout@v2 + # - name: Authenticate to OpenShift Linter namespace + # uses: redhat-actions/oc-login@v1 + # with: + # openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }} + # openshift_token: ${{ secrets.OPENSHIFT_LINTER_TOKEN }} + # insecure_skip_tls_verify: true + # - run: | + # set -euo pipefail; \ + # helm dep up ./charts/crunchy-postgres; \ + # helm template -f ./charts/crunchy-postgres/values.yaml crunchy-postgres ./charts/crunchy-postgres --validate; lint-raw-yaml: runs-on: ubuntu-latest diff --git a/charts/crunchy-postgres/values.yaml b/charts/crunchy-postgres/values.yaml index ab3c7cf..3321356 100644 --- a/charts/crunchy-postgres/values.yaml +++ b/charts/crunchy-postgres/values.yaml @@ -22,14 +22,14 @@ instances: cpu: 1m memory: 256Mi limits: - cpu: 100m + cpu: 1 memory: 512Mi replicaCertCopy: requests: cpu: 1m memory: 32Mi limits: - cpu: 50m + cpu: 1 memory: 64Mi # If we need to restore the cluster from a backup, we need to set the following values @@ -66,14 +66,14 @@ pgBackRest: cpu: 1m memory: 64Mi limits: - cpu: 50m + cpu: 1 memory: 128Mi sidecars: requests: cpu: 1m memory: 64Mi limits: - cpu: 50m + cpu: 1 memory: 128Mi s3: enabled: false @@ -120,7 +120,7 @@ proxy: cpu: 1m memory: 64Mi limits: - cpu: 50m + cpu: 1 memory: 128Mi # Postgres Cluster resource values: @@ -132,5 +132,5 @@ pgmonitor: cpu: 1m memory: 64Mi limits: - cpu: 50m + cpu: 1 memory: 128Mi