Skip to content

Commit

Permalink
Update triggers to use v1beta1 and bump triggers, pipeline, knative a…
Browse files Browse the repository at this point in the history
…nd k8s version
  • Loading branch information
savitaashture committed Aug 20, 2021
1 parent b9c72c7 commit da1c686
Show file tree
Hide file tree
Showing 1,530 changed files with 54,478 additions and 172,853 deletions.
Binary file added .bin/ko
Binary file not shown.
Binary file added .bin/kustomize
Binary file not shown.
2,123 changes: 2,123 additions & 0 deletions cmd/openshift/operator/kodata/tekton-pipeline/0.0.0-nightly/00-pipelines.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: pipelines-scc-role
rules:
- apiGroups: [security.openshift.io]
resourceNames: [nonroot]
resources: [securitycontextconstraints]
verbs: [use]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: openshift-pipelines-permission
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: pipelines-scc-role
subjects:
- kind: ServiceAccount
name: tekton-pipelines-controller
namespace: openshift-pipelines
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
# Copyright 2018 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: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: openshift-pipelines-read
namespace: tekton-pipelines
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: openshift-pipelines-prometheus-k8s-read-binding
namespace: tekton-pipelines
annotations:
operator.tekton.dev/preserve-rb-subject-namespace: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openshift-pipelines-read
subjects:
- kind: ServiceAccount
name: prometheus-k8s
namespace: openshift-monitoring
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
app: controller
annotations:
networkoperator.openshift.io/ignore-errors: ""
name: openshift-pipelines-monitor
namespace: tekton-pipelines
spec:
endpoints:
- interval: 10s
port: http-metrics
jobLabel: app
namespaceSelector:
matchNames:
- openshift-pipelines
selector:
matchLabels:
app: tekton-pipelines-controller
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-developer: "true"
kubernetes.io/description: pipelines-scc is a close replica of anyuid scc. pipelines-scc has fsGroup - MustRunAs.
release.openshift.io/create-only: "true"
name: pipelines-scc
allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: true
allowPrivilegedContainer: false
allowedCapabilities: null
defaultAddCapabilities: null
fsGroup:
type: MustRunAs
groups:
- system:cluster-admins
priority: 10
readOnlyRootFilesystem: false
requiredDropCapabilities:
- MKNOD
runAsUser:
type: RunAsAny
seLinuxContext:
type: MustRunAs
supplementalGroups:
type: RunAsAny
volumes:
- configMap
- downwardAPI
- emptyDir
- persistentVolumeClaim
- projected
- secret
Loading

0 comments on commit da1c686

Please sign in to comment.