Addon Fabric8

This commit is contained in:
Smaine Kahlouch
2015-10-05 11:27:13 +02:00
parent 488da0749d
commit c26d2e17cd
10 changed files with 265 additions and 2 deletions

View File

@@ -0,0 +1,69 @@
apiVersion: "v1"
kind: "ReplicationController"
metadata:
annotations: {}
labels:
component: "console"
provider: "fabric8"
name: "fabric8"
namespace: "kube-system"
spec:
replicas: 1
selector:
component: "console"
provider: "fabric8"
template:
metadata:
annotations: {}
labels:
component: "console"
provider: "fabric8"
spec:
containers:
-
args: []
command: []
env:
-
name: "OAUTH_PROVIDER"
value: "basic"
-
name: "OAUTH_AUTHORIZE_URI"
value: "https://vagrant.f8:8443/oauth/authorize"
-
name: "GOOGLE_OAUTH_CLIENT_SECRET"
value: ""
-
name: "GOOGLE_OAUTH_REDIRECT_URI"
value: "https://fabric8.vagrant.f8"
-
name: "OAUTH_CLIENT_ID"
value: "fabric8"
-
name: "GOOGLE_OAUTH_AUTHENTICATION_URI"
value: "https://accounts.google.com/o/oauth2/auth"
-
name: "GOOGLE_OAUTH_TOKEN_URL"
value: "https://www.googleapis.com/oauth2/v3/token"
-
name: "GOOGLE_OAUTH_CLIENT_ID"
value: ""
-
name: "GOOGLE_OAUTH_SCOPE"
value: "profile"
-
name: "KUBERNETES_NAMESPACE"
valueFrom:
fieldRef:
fieldPath: "metadata.namespace"
image: "docker.io/fabric8/fabric8-console:v1.0.26"
name: "fabric8-container"
ports:
-
containerPort: 9090
name: "http"
securityContext: {}
volumeMounts: []
imagePullSecrets: []
nodeSelector: {}
volumes: []

View File

@@ -0,0 +1,9 @@
apiVersion: "v1"
imagePullSecrets: []
kind: "ServiceAccount"
metadata:
annotations: {}
labels: {}
name: "fabric8"
namespace: "kube-system"
secrets: []

View File

@@ -0,0 +1,19 @@
apiVersion: "v1"
kind: "Service"
metadata:
annotations: {}
labels:
component: "console"
provider: "fabric8"
name: "fabric8"
namespace: "kube-system"
spec:
deprecatedPublicIPs: []
ports:
-
port: 80
protocol: "TCP"
targetPort: 9090
selector:
component: "console"
provider: "fabric8"

View File

@@ -0,0 +1,57 @@
apiVersion: "v1"
kind: "ReplicationController"
metadata:
annotations: {}
labels:
component: "templates"
provider: "fabric8"
name: "templates"
namespace: "kube-system"
spec:
replicas: 1
selector:
component: "templates"
provider: "fabric8"
template:
metadata:
annotations: {}
labels:
component: "templates"
provider: "fabric8"
spec:
containers:
-
args: []
command: []
env:
-
name: "DATA_DIR"
value: "/data/templates"
-
name: "KUBERNETES_NAMESPACE"
valueFrom:
fieldRef:
fieldPath: "metadata.namespace"
image: "docker.io/fabric8/templates:2.2.19"
name: "templates"
ports:
-
containerPort: 8080
name: "http"
-
containerPort: 8778
name: "jolokia"
securityContext: {}
volumeMounts:
-
mountPath: "/data"
name: "template-data"
readOnly: false
imagePullSecrets: []
nodeSelector: {}
volumes:
-
gitRepo:
repository: "https://github.com/fabric8io/templates.git"
revision: "master"
name: "template-data"

View File

@@ -0,0 +1,19 @@
apiVersion: "v1"
kind: "Service"
metadata:
annotations: {}
labels:
component: "templates"
provider: "fabric8"
name: "templates"
namespace: "kube-system"
spec:
deprecatedPublicIPs: []
ports:
-
port: 80
protocol: "TCP"
targetPort: 8080
selector:
component: "templates"
provider: "fabric8"