Created
August 26, 2020 10:30
-
-
Save scriptonist/89114a3551e7a5c868ce5c56f14262f5 to your computer and use it in GitHub Desktop.
Hasura Downgrader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
labels: | |
app: hasura | |
hasuraService: custom | |
name: hasura | |
namespace: hasura | |
spec: | |
template: | |
spec: | |
containers: | |
- image: hasura/graphql-engine:v1.3.0 | |
imagePullPolicy: IfNotPresent | |
name: hasura-downgrader | |
env: | |
- name: HASURA_GRAPHQL_DATABASE_URL | |
value: postgres://jdugpkuqhqwnws:0e6dadbf63ac9265da344f020f88c58a56a908bd71987fc9ff412da09bebe437@ec2-107-20-104-234.compute-1.amazonaws.com:5432/db78guei888o65 | |
## enable the console served by server | |
- name: HASURA_GRAPHQL_ENABLED_LOG_TYPES | |
value: "startup, http-log, webhook-log, websocket-log, query-log" | |
- name: HASURA_GRAPHQL_LOG_LEVEL | |
value: debug | |
- name: HASURA_GRAPHQL_ENABLE_CONSOLE | |
value: "true" | |
command: ["graphql-engine", "downgrade", "--to-v1.2.1"] | |
restartPolicy: Never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment