mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-05 03:24:55 -03:30
Addon Fabric8
This commit is contained in:
69
roles/addons/files/fabric8-rc.yaml
Normal file
69
roles/addons/files/fabric8-rc.yaml
Normal 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: []
|
||||
9
roles/addons/files/fabric8-svc-accounts.yaml
Normal file
9
roles/addons/files/fabric8-svc-accounts.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: "v1"
|
||||
imagePullSecrets: []
|
||||
kind: "ServiceAccount"
|
||||
metadata:
|
||||
annotations: {}
|
||||
labels: {}
|
||||
name: "fabric8"
|
||||
namespace: "kube-system"
|
||||
secrets: []
|
||||
19
roles/addons/files/fabric8-svc.yaml
Normal file
19
roles/addons/files/fabric8-svc.yaml
Normal 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"
|
||||
57
roles/addons/files/fabric8-templates-rc.yaml
Normal file
57
roles/addons/files/fabric8-templates-rc.yaml
Normal 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"
|
||||
19
roles/addons/files/fabric8-templates-svc.yaml
Normal file
19
roles/addons/files/fabric8-templates-svc.yaml
Normal 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"
|
||||
Reference in New Issue
Block a user