auth
2015-12-14
Parent:fc68085eb40d
auth/replication-controllers/authd.json
Update nsq import path. go-nsq has moved to nsqio/go-nsq, so we need to update the import path appropriately.
1 {
2 "kind":"ReplicationController",
3 "apiVersion":"v1",
4 "metadata":{
5 "name": "ducky-authd",
6 "labels": {
7 "name": "authd",
8 "context": "ducky",
9 "repo": "secondbit--authd",
10 "role": "auth"
11 }
12 },
13 "spec":{
14 "replicas":1,
15 "selector":{
16 "context": "ducky",
17 "name":"authd",
18 "repo": "secondbit--authd",
19 "role": "auth"
20 },
21 "template":{
22 "metadata":{
23 "labels":{
24 "context": "ducky",
25 "name":"authd",
26 "repo": "secondbit--authd",
27 "role": "auth"
28 }
29 },
30 "spec":{
31 "volumes": [
32 {
33 "name": "jwt-volume",
34 "secret": {
35 "secretName": "jwt"
36 }
37 }
38 ],
39 "containers":[
40 {
41 "name":"ducky-authd",
42 "image": "secondbit/authd:latest",
43 "volumeMounts": [
44 {
45 "name": "jwt-volume",
46 "readOnly": true,
47 "mountPath": "/private/kubernetes/jwt"
48 }
49 ],
50 "ports":[
51 {
52 "name": "http",
53 "containerPort":9000
54 }
55 ]
56 }
57 ]
58 }
59 }
60 }
61 }