-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
charles-edouard.breteche
committed
Mar 21, 2020
1 parent
b7fdeda
commit f0b4f01
Showing
22 changed files
with
1,314 additions
and
0 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 @@ | ||
# Copyright 2020 The Tekton Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: pipeline | ||
apiVersion: v1 | ||
version: 0.0.1 | ||
appVersion: 0.10.0 | ||
home: https://github.com/tektoncd/pipeline | ||
keywords: | ||
- helm | ||
- tekton pipeline | ||
maintainers: | ||
- name: xxx | ||
email: xxx@yyy.com | ||
description: | | ||
This chart bootstraps installation of [tekton pipeline](https://github.com/tektoncd/pipeline). | ||
It can optionnaly install the fpipeline webhook component. |
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,84 @@ | ||
|
||
|
||
pipeline | ||
======== | ||
|
||
## Description | ||
|
||
This chart bootstraps installation of [tekton pipeline](https://github.com/tektoncd/pipeline). | ||
|
||
It can optionnaly install the fpipeline webhook component. | ||
|
||
|
||
## Installation | ||
|
||
`helm upgrade --install tekton-pipeline --namespace tekton ./pipeline` | ||
|
||
This will install tekton pipelines in the tekton namespace. | ||
|
||
You can override default values, see [Chart Values](#chart-values) section. | ||
|
||
## Version | ||
|
||
Current chart version is `0.0.1` | ||
|
||
## Source | ||
|
||
Source code can be found [here](https://github.com/tektoncd/pipeline) | ||
|
||
|
||
|
||
## Chart Values | ||
|
||
|
||
| Key | Type | Description | Default | | ||
|-----|------|-------------|---------| | ||
| controller.affinity | object | Controller affinity rules | `{}` | | ||
| controller.annotations | object | Controller pod annotations | `{"cluster-autoscaler.kubernetes.io/safe-to-evict":"false"}` | | ||
| controller.args | list | Controller arguments | `["-kubeconfig-writer-image","gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/kubeconfigwriter:v0.11.0-rc2@sha256:54250b7767a6e105e04973cceb281173d001a6b7b91cef376c258e2ce29e3390","-creds-image","gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/creds-init:v0.11.0-rc2@sha256:af3db1677ca1bfd3b3927b98b7cd11fd0226c7f8646d805a868148bf266d4d01","-git-image","gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.11.0-rc2@sha256:599f634b71a5bd6cd5f83e0ec8f9ce56825640ff20f38a184a3c962df3024c6c","-nop-image","tianon/true","-shell-image","busybox","-gsutil-image","google/cloud-sdk","-entrypoint-image","gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/entrypoint:v0.11.0-rc2@sha256:58bde03269c74f62d8e03ac10b5d4c42c3db7de741eb10521464622dee4625c3","-imagedigest-exporter-image","gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.11.0-rc2@sha256:34bff0da2d1f2e0e37ee0cb6a18cf8e2b68e1d4904506c56acdccabf3f24291d","-pr-image","gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/pullrequest-init:v0.11.0-rc2@sha256:1fd24693b3c5fe86d90f55f07c14698018a8e6ab76223f717897871719936915","-build-gcs-fetcher-image","gcr.io/tekton-releases/github.com/tektoncd/pipeline/vendor/github.com/googlecloudplatform/cloud-builders/gcs-fetcher/cmd/gcs-fetcher:v0.11.0-rc2@sha256:6ab179ffdcafb66a7c37e862dbc2f1ac60ee5e81ec6bf63f55733369c96d8412"]` | | ||
| controller.config.artifactBucket | object | Controller configuration for artifact bucket (see https://github.com/tektoncd/pipeline/blob/master/docs/install.md) | `{}` | | ||
| controller.config.artifactPvc | object | Controller configuration for artifact pvc (see https://github.com/tektoncd/pipeline/blob/master/docs/install.md) | `{}` | | ||
| controller.config.defaults | object | Controller configuration for default values (see https://github.com/tektoncd/pipeline/blob/master/docs/install.md) | `{}` | | ||
| controller.config.featureFlags | object | Controller configuration for feature flags | `{"disable-home-env-overwrite":"false","disable-working-directory-overwrite":"false"}` | | ||
| controller.config.leaderElection | object | Controller configuration for leader election | `{"leaseDuration":"15s","renewDeadline":"10s","resourceLock":"leases","retryPeriod":"2s"}` | | ||
| controller.config.logging | object | Controller configuration for logging (see https://github.com/tektoncd/pipeline/blob/master/docs/install.md) | `{"loglevel.controller":"info","loglevel.webhook":"info","zap-logger-config":"{\n \"level\": \"info\",\n \"development\": false,\n \"sampling\": {\n \"initial\": 100,\n \"thereafter\": 100\n },\n \"outputPaths\": [\"stdout\"],\n \"errorOutputPaths\": [\"stderr\"],\n \"encoding\": \"json\",\n \"encoderConfig\": {\n \"timeKey\": \"\",\n \"levelKey\": \"level\",\n \"nameKey\": \"logger\",\n \"callerKey\": \"caller\",\n \"messageKey\": \"msg\",\n \"stacktraceKey\": \"stacktrace\",\n \"lineEnding\": \"\",\n \"levelEncoder\": \"\",\n \"timeEncoder\": \"\",\n \"durationEncoder\": \"\",\n \"callerEncoder\": \"\"\n }\n}\n"}` | | ||
| controller.config.observability | object | Controller configuration for observability (see https://github.com/tektoncd/pipeline/blob/master/docs/install.md) | `{}` | | ||
| controller.image.repository | string | Controller docker image repository | `"gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/controller"` | | ||
| controller.image.tag | string | Controller docker image tag | `"v0.11.0-rc2@sha256:97c8424c6091ab3ffe5a56c4c564e0342279f8c16f3b51ddc66bf3f22e457a78"` | | ||
| controller.metrics.enabled | bool | Enable controller metrics service | `true` | | ||
| controller.metrics.port | int | Controller metrics service port | `9090` | | ||
| controller.metrics.portName | string | | `"metrics"` | | ||
| controller.nodeSelector | object | Controller node selector | `{}` | | ||
| controller.replicas | int | Controller replicas | `1` | | ||
| controller.resources | object | Controller resource limits and requests | `{}` | | ||
| controller.service.annotations | object | Controller service annotations | `{}` | | ||
| controller.service.type | string | Controller service type | `"ClusterIP"` | | ||
| controller.serviceAccount | string | Controller service account in case rbac.create is false | `nil` | | ||
| controller.tolerations | list | Controller tolerations | `[]` | | ||
| customResourceDefinitions.create | bool | Create CRDs | `true` | | ||
| fullnameOverride | string | Override resource generated names even more | `""` | | ||
| nameOverride | string | Override resource generated names | `""` | | ||
| podSecurityPolicy.enabled | bool | Enable pod security policy | `false` | | ||
| rbac.create | bool | Create RBAC resources | `true` | | ||
| version | string | Tekton pipelines version used to add labels on deployments, pods and services | `"v0.11.0-rc2"` | | ||
| webhook.affinity | object | Webhook affinity rules | `{}` | | ||
| webhook.annotations | object | Webhook pod annotations | `{"cluster-autoscaler.kubernetes.io/safe-to-evict":"false"}` | | ||
| webhook.enabled | bool | Enable webhook | `true` | | ||
| webhook.image.repository | string | Webhook docker image repository | `"gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook"` | | ||
| webhook.image.tag | string | Webhook docker image tag | `"v0.11.0-rc2@sha256:7e9486f866958a505e6a7d4f9ab6587c6788a5c93b328d36de4e046c36fd6306"` | | ||
| webhook.metrics.enabled | bool | Enable webhook metrics service | `true` | | ||
| webhook.metrics.port | int | Webhook metrics service port | `9090` | | ||
| webhook.metrics.portName | string | Webhook metrics service port name | `"http-metrics"` | | ||
| webhook.nodeSelector | object | Webhook node selector | `{}` | | ||
| webhook.profiling.enabled | bool | Enable pebhook profiling service | `true` | | ||
| webhook.profiling.port | int | Webhook profiling service port | `8008` | | ||
| webhook.profiling.portName | string | Webhook profiling service port name | `"http-profiling"` | | ||
| webhook.replicas | int | Webhook replicas | `1` | | ||
| webhook.resources | object | Webhook resource limits and requests | `{}` | | ||
| webhook.service.annotations | object | Webhook service annotations | `{}` | | ||
| webhook.service.type | string | Webhook service type | `"ClusterIP"` | | ||
| webhook.serviceAccount | string | Webhook service account in case rbac.create is false | `nil` | | ||
| webhook.tolerations | list | Webhook tolerations | `[]` | | ||
|
||
|
||
Specify each parameter using the --set key=value[,key=value] argument to helm install. |
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,35 @@ | ||
{{ define "chart.valuesTable" }} | ||
| Key | Type | Description | Default | | ||
|-----|------|-------------|---------| | ||
{{- range .Values }} | ||
| {{ .Key }} | {{ .Type }} | {{ .Description }} | {{ .Default }} | | ||
{{- end }} | ||
{{ end }} | ||
|
||
{{ template "chart.header" . }} | ||
|
||
## Description | ||
|
||
{{ template "chart.description" . }} | ||
|
||
## Installation | ||
|
||
`helm upgrade --install tekton-pipeline --namespace tekton ./pipeline` | ||
|
||
This will install tekton pipelines in the tekton namespace. | ||
|
||
You can override default values, see [Chart Values](#chart-values) section. | ||
|
||
## Version | ||
|
||
{{ template "chart.versionLine" . }} | ||
|
||
## Source | ||
|
||
{{ template "chart.sourceLinkLine" . }} | ||
|
||
{{ template "chart.requirementsSection" . }} | ||
|
||
{{ template "chart.valuesSection" . }} | ||
|
||
Specify each parameter using the --set key=value[,key=value] argument to helm install. |
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,39 @@ | ||
# Copyright 2020 The Tekton Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: clustertasks.tekton.dev | ||
spec: | ||
group: tekton.dev | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
- name: v1beta1 | ||
served: true | ||
storage: false | ||
names: | ||
kind: ClusterTask | ||
plural: clustertasks | ||
categories: | ||
- tekton | ||
- tekton-pipelines | ||
scope: Cluster | ||
# Opt into the status subresource so metadata.generation | ||
# starts to increment | ||
subresources: | ||
status: {} | ||
version: v1alpha1 |
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,32 @@ | ||
# Copyright 2020 The Tekton Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: conditions.tekton.dev | ||
spec: | ||
group: tekton.dev | ||
names: | ||
kind: Condition | ||
plural: conditions | ||
categories: | ||
- tekton | ||
- tekton-pipelines | ||
scope: Namespaced | ||
# Opt into the status subresource so metadata.generation | ||
# starts to increment | ||
subresources: | ||
status: {} | ||
version: v1alpha1 |
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,35 @@ | ||
# Copyright 2018 The Knative Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: images.caching.internal.knative.dev | ||
labels: | ||
knative.dev/crd-install: "true" | ||
spec: | ||
group: caching.internal.knative.dev | ||
version: v1alpha1 | ||
names: | ||
kind: Image | ||
plural: images | ||
singular: image | ||
categories: | ||
- knative-internal | ||
- caching | ||
shortNames: | ||
- img | ||
scope: Namespaced | ||
subresources: | ||
status: {} |
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,39 @@ | ||
# Copyright 2020 The Tekton Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: pipelines.tekton.dev | ||
spec: | ||
group: tekton.dev | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
- name: v1beta1 | ||
served: true | ||
storage: false | ||
names: | ||
kind: Pipeline | ||
plural: pipelines | ||
categories: | ||
- tekton | ||
- tekton-pipelines | ||
scope: Namespaced | ||
# Opt into the status subresource so metadata.generation | ||
# starts to increment | ||
subresources: | ||
status: {} | ||
version: v1alpha1 |
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,55 @@ | ||
# Copyright 2020 The Tekton Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: pipelineruns.tekton.dev | ||
spec: | ||
group: tekton.dev | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
- name: v1beta1 | ||
served: true | ||
storage: false | ||
names: | ||
kind: PipelineRun | ||
plural: pipelineruns | ||
categories: | ||
- tekton | ||
- tekton-pipelines | ||
shortNames: | ||
- pr | ||
- prs | ||
scope: Namespaced | ||
additionalPrinterColumns: | ||
- name: Succeeded | ||
type: string | ||
JSONPath: ".status.conditions[?(@.type==\"Succeeded\")].status" | ||
- name: Reason | ||
type: string | ||
JSONPath: ".status.conditions[?(@.type==\"Succeeded\")].reason" | ||
- name: StartTime | ||
type: date | ||
JSONPath: .status.startTime | ||
- name: CompletionTime | ||
type: date | ||
JSONPath: .status.completionTime | ||
# Opt into the status subresource so metadata.generation | ||
# starts to increment | ||
subresources: | ||
status: {} | ||
version: v1alpha1 |
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,32 @@ | ||
# Copyright 2020 The Tekton Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: pipelineresources.tekton.dev | ||
spec: | ||
group: tekton.dev | ||
names: | ||
kind: PipelineResource | ||
plural: pipelineresources | ||
categories: | ||
- tekton | ||
- tekton-pipelines | ||
scope: Namespaced | ||
# Opt into the status subresource so metadata.generation | ||
# starts to increment | ||
subresources: | ||
status: {} | ||
version: v1alpha1 |
Oops, something went wrong.