Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions runtime-nodejs/kustomize-with-rbac/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../rbac-readonly
- ../kustomize
patchesStrategicMerge:
- specs-serviceaccount.yaml
8 changes: 8 additions & 0 deletions runtime-nodejs/kustomize-with-rbac/specs-serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: specs
spec:
template:
spec:
serviceAccountName: assert
2 changes: 0 additions & 2 deletions runtime-nodejs/kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../rbac-readonly
resources:
- scrapeable-deployment.yaml
# TODO if many tests reuse this base, how do we manage podmonitor?
Expand Down
1 change: 0 additions & 1 deletion runtime-nodejs/kustomize/scrapeable-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ spec:
labels:
kubernetes-assert: metrics
spec:
serviceAccountName: assert
containers:
- name: specs
# We can't have a tag here because https://kubectl.docs.kubernetes.io/pages/reference/kustomize.html#images won't unset it, and Skaffold required no-tag URLs for build
Expand Down