File tree Expand file tree Collapse file tree 7 files changed +8
-25
lines changed
Expand file tree Collapse file tree 7 files changed +8
-25
lines changed Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 0.0.2
2+ current_version = 0.0.3
33commit = False
44tag = False
55
Original file line number Diff line number Diff line change 1- version := "0.0.2 "
1+ version := "0.0.3 "
22
33.DEFAULT_GOAL := help
44
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ An oauth2 protected [graphQL playground](https://github.com/graphql/graphql-play
2020
2121### Binary Release
2222
23- Please see [ releases] ( https://github.com/autom8ter/oauth-graphql-playground/releases/tag/v0.0.2 ) to download and add the program to your path directly
23+ Please see [ releases] ( https://github.com/autom8ter/oauth-graphql-playground/releases/tag/v0.0.3 ) to download and add the program to your path directly
2424
2525#### Using Containers
2626
27- - Docker: ` docker pull colemanword:oauth-graphql-playground:v0.0.2 `
27+ - Docker: ` docker pull colemanword:oauth-graphql-playground:v0.0.3 `
2828
2929- [ sample k8s manifest] ( k8s.yaml )
3030
Original file line number Diff line number Diff line change 11version : ' 3.7'
22services :
33 oauth-graphql-playground :
4- image : colemanword/oauth-graphql-playground:v0.0.2
4+ image : colemanword/oauth-graphql-playground:v0.0.3
55 env_file :
66 - ./.env
77 ports :
Original file line number Diff line number Diff line change @@ -83,25 +83,8 @@ func (p *Playground) Playground() http.HandlerFunc {
8383 }
8484 return
8585 }
86- token , err := p .session .GetToken (req )
87- if err != nil {
88- p .logger .Error ("playground: failed to get token - redirecting" , zap .Error (err ))
89- if err := p .session .RedirectLogin (w , req ); err != nil {
90- p .logger .Error ("playground: failed to redirect" , zap .Error (err ))
91- }
92- return
93- }
9486 w .Header ().Add ("Content-Type" , "text/html" )
95- if p .useIDToken {
96- playground .Execute (w , map [string ]string {
97- "token" : token .IDToken ,
98- })
99- } else {
100- playground .Execute (w , map [string ]string {
101- "token" : token .Token .AccessToken ,
102- })
103- }
104-
87+ playground .Execute (w , map [string ]string {})
10588 }
10689}
10790
Original file line number Diff line number Diff line change 11package version
22
3- const Version = "0.0.2 "
3+ const Version = "0.0.3 "
Original file line number Diff line number Diff line change 6969 valueFrom :
7070 fieldRef :
7171 fieldPath : status.podIP
72- image : " colemanword/oauth-graphql-playground:v0.0.2 "
72+ image : " colemanword/oauth-graphql-playground:v0.0.3 "
7373 imagePullPolicy : Always
7474 ports :
7575 - containerPort : 5000
You can’t perform that action at this time.
0 commit comments