Skip to content

Commit d005b7b

Browse files
authored
fix(manifests): Patch cache config and break ct to default pl deployment (kubeflow#1057)
1 parent 11ff90e commit d005b7b

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 2020 The Knative Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: v1
16+
kind: ConfigMap
17+
metadata:
18+
name: cache-config
19+
namespace: tekton-pipelines
20+
labels:
21+
app.kubernetes.io/instance: default
22+
app.kubernetes.io/part-of: tekton-pipelines-loops
23+
data:
24+
disabled: "true"
25+
driver: "mysql"
26+
host: "mysql.kubeflow.svc.cluster.local"
27+
port: "3306"
28+
dbName: "cachedb"
29+
user: "root"
30+
password: ""
31+
timeout: "6m"
32+
extraParams: ""
33+
mysqlDBGroupConcatMaxLen: "4194304"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright 2020 The Knative Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: apiextensions.k8s.io/v1
16+
kind: CustomResourceDefinition
17+
metadata:
18+
name: breaktasks.custom.tekton.dev
19+
labels:
20+
app.kubernetes.io/instance: default
21+
app.kubernetes.io/part-of: tekton-pipeline-loops
22+
pipeline.tekton.dev/release: "devel"
23+
version: "devel"
24+
spec:
25+
group: custom.tekton.dev
26+
versions:
27+
- name: v1alpha1
28+
served: true
29+
storage: true
30+
# Opt into the status subresource so metadata.generation
31+
# starts to increment
32+
subresources:
33+
status: {}
34+
schema:
35+
openAPIV3Schema:
36+
type: object
37+
# One can use x-kubernetes-preserve-unknown-fields: true
38+
# at the root of the schema (and inside any properties, additionalProperties)
39+
# to get the traditional CRD behaviour that nothing is pruned, despite
40+
# setting spec.preserveUnknownProperties: false.
41+
#
42+
# See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/
43+
# See issue: https://github.com/knative/serving/issues/912
44+
x-kubernetes-preserve-unknown-fields: true
45+
names:
46+
kind: BreakTask
47+
plural: breaktasks
48+
categories:
49+
- tekton
50+
- tekton-pipelines
51+
scope: Namespaced

manifests/kustomize/third-party/tekton-custom-task/pipeline-loops/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ resources:
88
- 201-rolebinding.yaml
99
- 202-clusterrolebinding.yaml
1010
- 203-object-store-config.yaml
11+
- 204-cache-config.yaml
1112
- 300-pipelineloop.yaml
13+
- 301-breaktask.yaml
1214
- 500-controller.yaml
1315
- 500-webhook-configuration.yaml
1416
- 500-webhook.yaml

0 commit comments

Comments
 (0)