Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove limits #64

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 34 additions & 34 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions charts/crunchy-postgres/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -120,7 +120,7 @@ proxy:
cpu: 1m
memory: 64Mi
limits:
cpu: 50m
cpu: 1
memory: 128Mi

# Postgres Cluster resource values:
Expand All @@ -132,5 +132,5 @@ pgmonitor:
cpu: 1m
memory: 64Mi
limits:
cpu: 50m
cpu: 1
memory: 128Mi
Loading