Skip to content

Commit

Permalink
Use namespace best practices for kustomize
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan-biswas authored and xinredhat committed Dec 1, 2023
1 parent 8604ea7 commit 6735c1e
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-api
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-api
namespace: tekton-pipelines
spec:
template:
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-api
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: tekton-results
namespace: tekton-results
labels:
app.kubernetes.io/part-of: tekton-results
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-api
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ apiVersion: v1
kind: Service
metadata:
name: api-service
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "1"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: v1
kind: Service
metadata:
name: api-service
namespace: tekton-pipelines
annotations:
service.beta.openshift.io/serving-cert-secret-name: tekton-results-tls
argocd.argoproj.io/sync-wave: "0"
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-api
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "1"
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ configMapGenerator:
files:
- config.env
name: api-config
namespace: tekton-pipelines
options:
disableNameSuffixHash: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: metrics-reader
namespace: tekton-results
annotations:
argocd.argoproj.io/sync-wave: "0"
---
apiVersion: v1
kind: Secret
metadata:
name: metrics-reader
namespace: tekton-results
annotations:
kubernetes.io/service-account.name: metrics-reader
argocd.argoproj.io/sync-wave: "0"
Expand Down Expand Up @@ -42,13 +40,11 @@ roleRef:
subjects:
- kind: ServiceAccount
name: metrics-reader
namespace: tekton-results
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: tekton-results-api
namespace: tekton-results
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
Expand All @@ -70,7 +66,6 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: tekton-results-watcher
namespace: tekton-results
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-watcher
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-watcher
namespace: tekton-pipelines
spec:
template:
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
subjects:
- kind: ServiceAccount
name: tekton-results-watcher
namespace: tekton-results
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: tekton-results-config-logging
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "0"
data:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ metadata:
subjects:
- kind: ServiceAccount
name: watcher
namespace: tekton-pipelines
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ apiVersion: v1
kind: Service
metadata:
name: tekton-results-watcher
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "2"
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-results-watcher
namespace: tekton-pipelines
annotations:
argocd.argoproj.io/sync-wave: "2"

0 comments on commit 6735c1e

Please sign in to comment.