Skip to content

Commit

Permalink
Use dev as default railsEnv value
Browse files Browse the repository at this point in the history
  • Loading branch information
raelga committed Jun 23, 2020
1 parent 8d96e0b commit 88a0ad6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion deploy/crds/saas.3scale.net_v1alpha1_zync_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ spec:
limits:
cpu: "1"
env:
dbWaitSleepSeconds: 1
dbWaitSleepSeconds: 1
railsEnv: staging
8 changes: 4 additions & 4 deletions docs/zync-crd-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
replicas: 3
env:
dbWaitSleepSeconds: 10
railsEnv: staging
railsEnv: dev
railsLogsToStdout: true
resources:
requests:
Expand All @@ -66,7 +66,7 @@ spec:
que:
replicas: 2
env:
railsEnv: staging
railsEnv: dev
railsLogsToStdout: true
resources:
requests:
Expand Down Expand Up @@ -102,7 +102,7 @@ spec:
| `image.pullSecretName` | `string` | No | - | Pull secret for private container repository if required |
| `secret.vaultPath` | `string` | Yes | - | Vault path with the zync secrets |
| `zync.env.dbWaitSleepSeconds ` | `int` | No | `30` | Sleep delay while waiting for the zync database |
| `zync.env.railsEnv` | `string` | No | `staging` | Rails environment for zync |
| `zync.env.railsEnv` | `string` | No | `dev` | Rails environment for zync |
| `zync.env.railsLogsToStdout` | `string` | No | `false` | Rails log to std output toggle for zync |
| `zync.replicas` | `int` | No | `3` | Number of replicas for zync |
| `zync.resources.requests.cpu` | `string` | No | `250m` | Override CPU requests for zync |
Expand All @@ -120,7 +120,7 @@ spec:
| `zync.readinessProbe.successThreshold` | `int` | No | `1` | Override readiness success threshold for zync |
| `zync.readinessProbe.failureThreshold` | `int` | No | `3` | Override readiness failure threshold for zync |
| `que.replicas` | `int` | No | `3` | Number of replicas for zync-que |
| `que.env.railsEnv` | `string` | No | `staging` | Rails environment for zync-que |
| `que.env.railsEnv` | `string` | No | `dev` | Rails environment for zync-que |
| `que.env.railsLogsToStdout` | `string` | No | `false` | Rail log to std output toggle for zync-que |
| `que.resources.requests.cpu` | `string` | No | `250m` | Override CPU requests for zync-que |
| `que.resources.requests.memory` | `string` | No | `250Mi` | Override Memory requests for zync-que |
Expand Down
4 changes: 2 additions & 2 deletions roles/zync/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image_tag: "nightly"
zync_replicas: 3
### Zync Deployment Env
zync_env_rails_log_to_stdout: "false"
zync_env_rails_env: staging
zync_env_rails_env: dev
zync_env_db_wait_sleep_seconds: 30
### Zync Deployment Resources
zync_resources_requests_cpu: "250m"
Expand All @@ -31,7 +31,7 @@ zync_readiness_probe_failure_threshold: 3
que_replicas: 3
### Zync Deployment Env
que_env_rails_log_to_stdout: "false"
que_env_rails_env: staging
que_env_rails_env: dev
### Zync-Que Deployment Resources
que_resources_requests_cpu: "250m"
que_resources_requests_memory: "250Mi"
Expand Down

0 comments on commit 88a0ad6

Please sign in to comment.