Skip to content
Snippets Groups Projects
Verified Commit 2513c7e2 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(tekton): Initial deploy

parent a4ef893c
Branches
Tags
No related merge requests found
...@@ -16,3 +16,4 @@ resources: ...@@ -16,3 +16,4 @@ resources:
- postgres - postgres
- kubenav - kubenav
- starboard - starboard
- tekton
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: tekton-system
resources:
- namespace.yaml
- repository.yaml
- release.yaml
- ../../shared/networkpolicies/allow-from-same-namespace.yaml
- ../../shared/networkpolicies/allow-from-monitoring.yaml
patchesStrategicMerge:
- networkpolicy.yaml
apiVersion: v1
kind: Namespace
metadata:
name: tekton-system
labels:
name: tekton-system
kyverno.shivering-isles.com/class: "system"
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-from-monitoring
spec:
podSelector:
matchLabels:
app.kubernetes.io/component: operator
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: tekton-operator
namespace: tekton-system
spec:
releaseName: tekton-operator
chart:
spec:
chart: tekton-operator
sourceRef:
kind: GitRepository
name: tekton
namespace: tekton-system
interval: 5m
install:
crds: CreateReplace
upgrade:
crds: CreateReplace
values:
installCRDs: true
operator:
defaultTargetNamespace: tekton-system
service:
createServiceMonitor: true
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: tekton
namespace: tekton-system
spec:
spec:
interval: 30m
ref:
commit: 8dad037328193d6694f4d8365765d8a31e32c712
url: https://github.com/tektoncd/operator.git
ignore: |
# exclude all
/*
# include deploy dir
!/chart
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment