forked from tektoncd/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds an installer script for local dev only. It supports the following arguments: Global command syntax: installer COMMAND [OPTIONS] Accepted commands: help|h Prints this help install|i Installs the dashboard uninstall|u Uninstalls the dashboard build|b Builds the manifests and docker image and outputs manfiests in the console Accepted options: [--debug] Prints additional messages in the console [--csrf-secure-cookie] Enable secure CSRF cookie [--openshift] Will build manifests for openshift [--read-only] Will build manifests for a readonly deployment [--namespace <namespace>] Will override install namespace [--pipelines-namespace <namespace>] Override the namespace where Tekton Pipelines is installed (defaults to tekton-pipelines) [--triggers-namespace <namespace>] Override the namespace where Tekton Triggers is installed (defaults to tekton-pipelines) [--ingress-url <url>] Will create an additional ingress with the specified url [--ingress-secret <secret>] Will add ssl support to the ingress
- Loading branch information
1 parent
c05b5c5
commit 4b1c838
Showing
11 changed files
with
523 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: | ||
--logout-url=--logout-url | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: | ||
--pipelines-namespace=--pipelines-namespace | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: | ||
--triggers-namespace=--triggers-namespace | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: | ||
--read-only=--read-only | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: | ||
--csrf-secure-cookie=--csrf-secure-cookie | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: | ||
--log-level=--log-level | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: | ||
--log-format=--log-format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
resources: | ||
- ../../../base/200-clusterrole-backend.yaml | ||
- ../../../base/200-clusterrole-extensions.yaml | ||
- ../../../base/200-clusterrole-pipelines.yaml | ||
- ../../../base/200-clusterrole-tenant.yaml | ||
- ../../../base/200-clusterrole-triggers.yaml | ||
- ../../../base/201-clusterrolebinding-backend.yaml | ||
- ../../../base/201-clusterrolebinding-extensions.yaml | ||
# - ../../../base/201-clusterrolebinding-pipelines.yaml | ||
- ../../../base/201-clusterrolebinding-tenant.yaml | ||
# - ../../../base/201-clusterrolebinding-triggers.yaml | ||
- ../../../base/202-extension-crd.yaml | ||
- ../../../base/203-serviceaccount.yaml | ||
- ../../../base/300-deployment.yaml | ||
- ../../../base/300-service.yaml | ||
images: | ||
- name: dashboardImage | ||
newName: github.com/tektoncd/dashboard/cmd/dashboard | ||
patchesJson6902: | ||
- target: | ||
group: apps | ||
version: v1 | ||
kind: Deployment | ||
name: tekton-dashboard | ||
namespace: tekton-pipelines | ||
path: flags.yaml | ||
namespace: tekton-dashboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
resources: | ||
- ../../base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
resources: | ||
- ../base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
resources: | ||
- ../base | ||
patchesJson6902: | ||
- target: | ||
group: rbac.authorization.k8s.io | ||
version: v1 | ||
kind: ClusterRole | ||
name: tekton-dashboard-backend | ||
path: ../../../full-fat/clusterrole-backend-patch.yaml | ||
- target: | ||
group: rbac.authorization.k8s.io | ||
version: v1 | ||
kind: ClusterRole | ||
name: tekton-dashboard-tenant | ||
path: ../../../full-fat/clusterrole-tenant-patch.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
resources: | ||
- ../../base | ||
- ../../../openshift-patches/route.yaml | ||
- ../../../openshift-patches/internal-dashboard-service.yaml | ||
patchesJson6902: | ||
- target: | ||
group: apps | ||
version: v1 | ||
kind: Deployment | ||
name: tekton-dashboard | ||
namespace: tekton-pipelines | ||
path: ../../../openshift-patches/oauth-proxy-in-deployment.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
resources: | ||
- ../base |
16 changes: 16 additions & 0 deletions
16
overlays/installer/openshift/read-write/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
resources: | ||
- ../base | ||
patchesJson6902: | ||
- target: | ||
group: rbac.authorization.k8s.io | ||
version: v1 | ||
kind: ClusterRole | ||
name: tekton-dashboard-backend | ||
path: ../../../full-fat/clusterrole-backend-patch.yaml | ||
- target: | ||
group: rbac.authorization.k8s.io | ||
version: v1 | ||
kind: ClusterRole | ||
name: tekton-dashboard-tenant | ||
path: ../../../full-fat/clusterrole-tenant-patch.yaml |
Oops, something went wrong.