Skip to content

Commit

Permalink
fixing hasura-engine deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
leboiko committed Dec 19, 2024
1 parent ade40b7 commit 3b6ac19
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
26 changes: 16 additions & 10 deletions devops/aws/services/graphql/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,22 @@ spec:
serviceAccountName: secrets-access-sa
containers:
- env:
- name: HASURA_GRAPHQL_DEV_MODE
value: "true"
- name: HASURA_GRAPHQL_ENABLED_LOG_TYPES
value: startup, http-log, webhook-log, websocket-log, query-log
- name: HASURA_GRAPHQL_ENABLE_CONSOLE
value: "true"
- name: HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES
value: "true"
- name: HASURA_GRAPHQL_UNAUTHORIZED_ROLE
value: anonymous
- name: HASURA_GRAPHQL_CORS_DOMAIN
value: "*"
- name: HASURA_GRAPHQL_DEV_MODE
value: "true"
- name: HASURA_GRAPHQL_ENABLED_LOG_TYPES
value: startup, http-log, webhook-log, websocket-log, query-log
- name: HASURA_GRAPHQL_ENABLE_CONSOLE
value: "true"
- name: HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES
value: "true"
- name: HASURA_GRAPHQL_UNAUTHORIZED_ROLE
value: anonymous
- name: HASURA_GRAPHQL_ENABLE_PERSISTED_QUERIES
value: "true"
- name: HASURA_GRAPHQL_PERSISTED_QUERIES_TTL
value: "300"
image: hasura/graphql-engine:v2.44.0
livenessProbe:
exec:
Expand Down
4 changes: 4 additions & 0 deletions devops/aws/services/graphql/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ spec:
targetPort: 8080
protocol: TCP
name: https
- port: 8080
targetPort: 8080
protocol: TCP
name: http
selector:
io.kompose.service: graphql-engine

0 comments on commit 3b6ac19

Please sign in to comment.