--- apiVersion: "v1" kind: "Template" metadata: labels: provider: "fabric8" project: "fabric8-console" expose: "true" version: "2.2.196" group: "io.fabric8.apps" name: "fabric8" objects: - apiVersion: "v1" kind: "ServiceAccount" metadata: labels: provider: "fabric8" project: "fabric8-console" version: "2.2.196" group: "io.fabric8.platform.console" name: "fabric8" - apiVersion: "v1" kind: "OAuthClient" metadata: labels: provider: "fabric8" group: "io.fabric8.apps" project: "fabric8-console" expose: "true" version: "2.2.196" name: "fabric8" redirectURIs: - "http://localhost:9000" - "http://localhost:9090" - "http://localhost:2772" - apiVersion: "v1" kind: "Service" metadata: annotations: fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-console/master/app-kubernetes/src/main/fabric8/icon.svg" fabric8.io/git-commit: "46198c3a53308e71862fc16e3c0f67be5c1518be" fabric8.io/git-branch: "release-v2.2.196" fabric8.io/build-id: "2" fabric8.io/git-url: "http://gogs.ux.fabric8.io/gogsadmin/oss-parent/commit/46198c3a53308e71862fc16e3c0f67be5c1518be" fabric8.io/build-url: "http://jenkins.ux.fabric8.io/job/oss-parent/2" labels: provider: "fabric8" project: "fabric8-console" expose: "true" version: "2.2.196" group: "io.fabric8.apps" name: "fabric8" spec: ports: - port: 80 protocol: "TCP" targetPort: 9090 selector: project: "fabric8-console" provider: "fabric8" expose: "true" group: "io.fabric8.platform.console" - apiVersion: "v1" kind: "Service" metadata: annotations: fabric8.io/git-commit: "46198c3a53308e71862fc16e3c0f67be5c1518be" fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/fabric8-console/src/main/fabric8/icon.svg" fabric8.io/git-branch: "release-v2.2.196" fabric8.io/build-id: "2" fabric8.io/git-url: "http://gogs.ux.fabric8.io/gogsadmin/oss-parent/commit/46198c3a53308e71862fc16e3c0f67be5c1518be" fabric8.io/build-url: "http://jenkins.ux.fabric8.io/job/oss-parent/2" labels: group: "io.fabric8.apps" project: "fabric8-console" provider: "fabric8" expose: "true" version: "2.2.196" name: "jenkinshift" spec: ports: - name: "http" port: 80 protocol: "TCP" targetPort: 9191 selector: group: "io.fabric8.platform.console" project: "fabric8-console" provider: "fabric8" - apiVersion: "v1" kind: "ConfigMap" metadata: annotations: fabric8.console/summary: "[Fabric8 Console](http://fabric8.io/v2/console.html)\ \ for working with Fabric8 and Kubernetes" description: "Creates an instance of the Fabric8 Console for working with fabric8 and kubernetes." expose.config.fabric8.io/oauth-authorize-url-key: "oauth-authorize-uri" fabric8.console/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-console/master/app-kubernetes/src/main/fabric8/icon.svg" labels: provider: "fabric8" project: "fabric8-console" version: "2.2.196" group: "io.fabric8.platform.console" name: "fabric8" data: github-oauth-client-id: "${GITHUB_OAUTH_CLIENT_ID}" github-oauth-client-secret: "${GITHUB_OAUTH_CLIENT_SECRET}" oauth-authorize-uri: "" auth-mode: "basic" master-uri: "k8s" - apiVersion: "v1" kind: "ConfigMap" metadata: annotations: description: "Defines the environments used by your Continuous Delivery pipelines." fabric8.console/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-console/master/app-kubernetes/src/main/fabric8/icon.svg" labels: kind: "environments" provider: "fabric8" project: "fabric8-console" version: "2.2.196" group: "io.fabric8.platform.console" name: "fabric8-environments" - apiVersion: "v1" kind: "DeploymentConfig" metadata: annotations: fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-console/master/app-kubernetes/src/main/fabric8/icon.svg" configmap.fabric8.io/update-on-change: "fabric8" labels: provider: "fabric8" project: "fabric8-console" expose: "true" version: "2.2.196" group: "io.fabric8.apps" name: "fabric8" spec: replicas: 1 selector: provider: "fabric8" group: "io.fabric8.platform.console" project: "fabric8-console" expose: "true" strategy: rollingParams: timeoutSeconds: 10800 type: "Rolling" template: metadata: annotations: fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-console/master/app-kubernetes/src/main/fabric8/icon.svg" labels: provider: "fabric8" group: "io.fabric8.platform.console" project: "fabric8-console" expose: "true" version: "2.2.196" spec: containers: - env: - name: "OAUTH_AUTHORIZE_URI" valueFrom: configMapKeyRef: key: "oauth-authorize-uri" name: "fabric8" - name: "GITHUB_OAUTH_CLIENT_SECRET" valueFrom: configMapKeyRef: key: "github-oauth-client-secret" name: "fabric8" - name: "GITHUB_OAUTH_CLIENT_ID" valueFrom: configMapKeyRef: key: "github-oauth-client-id" name: "fabric8" - name: "KUBERNETES_NAMESPACE" valueFrom: fieldRef: fieldPath: "metadata.namespace" - name: "OAUTH_CLIENT_ID" value: "fabric8" - name: "OAUTH_PROVIDER" value: "openshift" image: "fabric8/fabric8-console:2.2.196" name: "fabric8-container" ports: - containerPort: 9090 name: "http" resources: limits: cpu: "0" memory: "0" requests: cpu: "0" memory: "0" triggers: - type: "ConfigChange" parameters: - description: "The domain name to append to the service name to access web applications" name: "DOMAIN" required: true value: "localhost" - description: "Overrides the api server address if it differs from the domain name" name: "APISERVER" required: true value: "localhost" - description: "The port that the API server is running inside Kubernetes/OpenShift" name: "OAUTH_AUTHORIZE_PORT" value: "8443" - description: "The client ID obtained from the Github OAuth client settings page" name: "GITHUB_OAUTH_CLIENT_ID" - description: "The client secret obtained from the Github OAuth client settings page" name: "GITHUB_OAUTH_CLIENT_SECRET"