tekton stuff and install
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
Install:
|
Install:
|
||||||
|
|
||||||
# Pipelines: @kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml@
|
# Pipelines: @kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml@
|
||||||
# Triggers: @kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml@ #https://github.com/tektoncd/triggers/blob/master/docs/install.md
|
# Triggers: @kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml@
|
||||||
# Dashboard:
|
@kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/latest/interceptors.yaml@ #https://github.com/tektoncd/triggers/blob/master/docs/install.md
|
||||||
## update submodule in ./dashboard
|
# Dashboard: @kubectl apply --filename https://storage.googleapis.com/tekton-releases/dashboard/latest/tekton-dashboard-release.yaml@
|
||||||
## Build: @docker build -t tekton-dashboard:arm64 -t docker-registry.lan/tekton-dashboard:arm64 --platform linux/arm64 --build-arg GOARCH=arm64 .@
|
|
||||||
## apply deployment.yaml
|
|
||||||
|
|||||||
@@ -1,526 +0,0 @@
|
|||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
|
||||||
kind: CustomResourceDefinition
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: extensions.dashboard.tekton.dev
|
|
||||||
spec:
|
|
||||||
additionalPrinterColumns:
|
|
||||||
- JSONPath: .spec.apiVersion
|
|
||||||
name: API version
|
|
||||||
type: string
|
|
||||||
- JSONPath: .spec.name
|
|
||||||
name: Kind
|
|
||||||
type: string
|
|
||||||
- JSONPath: .spec.displayname
|
|
||||||
name: Display name
|
|
||||||
type: string
|
|
||||||
- JSONPath: .metadata.creationTimestamp
|
|
||||||
name: Age
|
|
||||||
type: date
|
|
||||||
group: dashboard.tekton.dev
|
|
||||||
names:
|
|
||||||
categories:
|
|
||||||
- tekton
|
|
||||||
- tekton-dashboard
|
|
||||||
kind: Extension
|
|
||||||
plural: extensions
|
|
||||||
shortNames:
|
|
||||||
- ext
|
|
||||||
- exts
|
|
||||||
preserveUnknownFields: false
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
|
||||||
status: {}
|
|
||||||
validation:
|
|
||||||
openAPIV3Schema:
|
|
||||||
type: object
|
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
|
||||||
versions:
|
|
||||||
- name: v1alpha1
|
|
||||||
served: true
|
|
||||||
storage: true
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-backend
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- apiextensions.k8s.io
|
|
||||||
resources:
|
|
||||||
- customresourcedefinitions
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- apiGroups:
|
|
||||||
- security.openshift.io
|
|
||||||
resources:
|
|
||||||
- securitycontextconstraints
|
|
||||||
verbs:
|
|
||||||
- use
|
|
||||||
- apiGroups:
|
|
||||||
- tekton.dev
|
|
||||||
resources:
|
|
||||||
- clustertasks
|
|
||||||
- clustertasks/status
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- triggers.tekton.dev
|
|
||||||
resources:
|
|
||||||
- clustertriggerbindings
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- dashboard.tekton.dev
|
|
||||||
resources:
|
|
||||||
- extensions
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- patch
|
|
||||||
- apiGroups:
|
|
||||||
- tekton.dev
|
|
||||||
resources:
|
|
||||||
- clustertasks
|
|
||||||
- clustertasks/status
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- patch
|
|
||||||
- apiGroups:
|
|
||||||
- triggers.tekton.dev
|
|
||||||
resources:
|
|
||||||
- clustertriggerbindings
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- patch
|
|
||||||
- add
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-dashboard
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- apps
|
|
||||||
resources:
|
|
||||||
- deployments
|
|
||||||
verbs:
|
|
||||||
- list
|
|
||||||
---
|
|
||||||
aggregationRule:
|
|
||||||
clusterRoleSelectors:
|
|
||||||
- matchLabels:
|
|
||||||
rbac.dashboard.tekton.dev/aggregate-to-dashboard: "true"
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-extensions
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-pipelines
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- apps
|
|
||||||
resources:
|
|
||||||
- deployments
|
|
||||||
verbs:
|
|
||||||
- list
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-tenant
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- services
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- dashboard.tekton.dev
|
|
||||||
resources:
|
|
||||||
- extensions
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- serviceaccounts
|
|
||||||
- pods/log
|
|
||||||
- namespaces
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- tekton.dev
|
|
||||||
resources:
|
|
||||||
- tasks
|
|
||||||
- taskruns
|
|
||||||
- pipelines
|
|
||||||
- pipelineruns
|
|
||||||
- pipelineresources
|
|
||||||
- conditions
|
|
||||||
- tasks/status
|
|
||||||
- taskruns/status
|
|
||||||
- pipelines/status
|
|
||||||
- pipelineruns/status
|
|
||||||
- taskruns/finalizers
|
|
||||||
- pipelineruns/finalizers
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- triggers.tekton.dev
|
|
||||||
resources:
|
|
||||||
- eventlisteners
|
|
||||||
- triggerbindings
|
|
||||||
- triggertemplates
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- serviceaccounts
|
|
||||||
verbs:
|
|
||||||
- update
|
|
||||||
- patch
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- secrets
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- apiGroups:
|
|
||||||
- tekton.dev
|
|
||||||
resources:
|
|
||||||
- tasks
|
|
||||||
- taskruns
|
|
||||||
- pipelines
|
|
||||||
- pipelineruns
|
|
||||||
- pipelineresources
|
|
||||||
- conditions
|
|
||||||
- taskruns/finalizers
|
|
||||||
- pipelineruns/finalizers
|
|
||||||
- tasks/status
|
|
||||||
- taskruns/status
|
|
||||||
- pipelines/status
|
|
||||||
- pipelineruns/status
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- patch
|
|
||||||
- apiGroups:
|
|
||||||
- triggers.tekton.dev
|
|
||||||
resources:
|
|
||||||
- eventlisteners
|
|
||||||
- triggerbindings
|
|
||||||
- triggertemplates
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- patch
|
|
||||||
- add
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-triggers
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- apps
|
|
||||||
resources:
|
|
||||||
- deployments
|
|
||||||
verbs:
|
|
||||||
- list
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-backend
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: tekton-dashboard-backend
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: tekton-dashboard
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/name: dashboard
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
app.kubernetes.io/version: v0.11.1
|
|
||||||
dashboard.tekton.dev/release: v0.11.1
|
|
||||||
version: v0.11.1
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 9097
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 9097
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/name: dashboard
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: tekton-dashboard
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/name: dashboard
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
app.kubernetes.io/version: v0.11.1
|
|
||||||
dashboard.tekton.dev/release: v0.11.1
|
|
||||||
version: v0.11.1
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/name: dashboard
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: tekton-dashboard
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/name: dashboard
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
app.kubernetes.io/version: v0.11.1
|
|
||||||
name: tekton-dashboard
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- args:
|
|
||||||
- --port=9097
|
|
||||||
- --logout-url=
|
|
||||||
- --pipelines-namespace=tekton-pipelines
|
|
||||||
- --triggers-namespace=tekton-pipelines
|
|
||||||
- --read-only=false
|
|
||||||
- --csrf-secure-cookie=false
|
|
||||||
- --log-level=info
|
|
||||||
- --log-format=json
|
|
||||||
- --namespace=
|
|
||||||
- --openshift=false
|
|
||||||
- --stream-logs=false
|
|
||||||
- --external-logs=
|
|
||||||
env:
|
|
||||||
- name: INSTALLED_NAMESPACE
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.namespace
|
|
||||||
- name: WEB_RESOURCES_DIR
|
|
||||||
value: /go/src/github.com/tektoncd/dashboard/web
|
|
||||||
- name: TEKTON_PIPELINES_WEB_RESOURCES_DIR
|
|
||||||
value: /go/src/github.com/tektoncd/dashboard/web
|
|
||||||
#image: gcr.io/tekton-releases/github.com/tektoncd/dashboard/cmd/dashboard@sha256:744eb92d7d0365bbfb2405df4ba4d2a66c01edc26028c362bd5675e2bc1b9626
|
|
||||||
image: docker-registry.lan/tekton-dashboard:arm64
|
|
||||||
imagePullPolicy: Always
|
|
||||||
livenessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /health
|
|
||||||
port: 9097
|
|
||||||
name: tekton-dashboard
|
|
||||||
ports:
|
|
||||||
- containerPort: 9097
|
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /readiness
|
|
||||||
port: 9097
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
||||||
runAsUser: 65532
|
|
||||||
serviceAccountName: tekton-dashboard
|
|
||||||
volumes: []
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: RoleBinding
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-pipelines
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: tekton-dashboard-pipelines
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: RoleBinding
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: tekton-dashboard-dashboard
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: RoleBinding
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-triggers
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: tekton-dashboard-triggers
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-tenant
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: tekton-dashboard-tenant
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
name: tekton-dashboard-extensions
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: tekton-dashboard-extensions
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: tekton-dashboard
|
|
||||||
namespace: tekton-pipelines
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: dashboard
|
|
||||||
app.kubernetes.io/instance: default
|
|
||||||
app.kubernetes.io/part-of: tekton-dashboard
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: tekton.lan
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- backend:
|
|
||||||
serviceName: tekton-dashboard
|
|
||||||
servicePort: 9097
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user