Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
9f048753
Commit
9f048753
authored
Dec 23, 2015
by
bobbyrullo
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #244 from jhuntoo/master
Update k8s README to --template syntax
parents
6c095766
96553c17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
contrib/k8s/README.md
+2
-2
No files found.
contrib/k8s/README.md
View file @
9f048753
...
@@ -53,7 +53,7 @@ The other hacky thing is that this needs to happen before the workers start beca
...
@@ -53,7 +53,7 @@ The other hacky thing is that this needs to happen before the workers start beca
First, start a shell session on the overlord pod.
First, start a shell session on the overlord pod.
```
```
DEX_OVERLORD_POD=$(kubectl get pod -l=app=dex,role=overlord -o template -
t
"{{ (index .items 0).metadata.name }}")
DEX_OVERLORD_POD=$(kubectl get pod -l=app=dex,role=overlord -o template -
-template
"{{ (index .items 0).metadata.name }}")
kubectl exec -ti $DEX_OVERLORD_POD -- sh
kubectl exec -ti $DEX_OVERLORD_POD -- sh
```
```
...
@@ -116,7 +116,7 @@ Now you can register and log-in to your example app: Go to http://127.0.0.1:5555
...
@@ -116,7 +116,7 @@ Now you can register and log-in to your example app: Go to http://127.0.0.1:5555
Here's how to get psql session.
Here's how to get psql session.
```
```
DEX_PSQL_POD=$(kubectl get pod -l=app=postgres -o template -
t
"{{ (index .items 0).metadata.name }}")
DEX_PSQL_POD=$(kubectl get pod -l=app=postgres -o template -
-template
"{{ (index .items 0).metadata.name }}")
kubectl exec $DEX_PSQL_POD -ti -- psql postgres://postgres@dex-postgres.default:5432/postgres?sslmode=disable
kubectl exec $DEX_PSQL_POD -ti -- psql postgres://postgres@dex-postgres.default:5432/postgres?sslmode=disable
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment