Skip to content

Commit

Permalink
prepull tools
Browse files Browse the repository at this point in the history
  • Loading branch information
erwangranger committed Dec 21, 2024
1 parent cb3409b commit 8df1071
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions bootstrap/user-projects/rbac-presync-monitoring.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,35 @@
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: image-puller-tools
namespace: rhods-notebooks
labels:
k8s-app: image-puller
annotations:
# argocd.argoproj.io/sync-wave: "2"
argocd.argoproj.io/hook: PreSync
spec:
selector:
matchLabels:
name: image-puller
template:
metadata:
labels:
name: image-puller
spec:
containers:
- name: tools
image: image-registry.openshift-image-registry.svc:5000/openshift/tools:latest
command: ["tail"]
args: ["-f", "/dev/null"]
resources:
limits:
memory: 20Mi
requests:
cpu: 10m
memory: 10Mi
---
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -47,34 +78,3 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: presync-monitoring-cluster-role
# ---
# apiVersion: apps/v1
# kind: DaemonSet
# metadata:
# name: image-puller-tools
# namespace: rhods-notebooks
# labels:
# k8s-app: image-puller
# annotations:
# # argocd.argoproj.io/sync-wave: "2"
# argocd.argoproj.io/hook: PreSync
# spec:
# selector:
# matchLabels:
# name: image-puller
# template:
# metadata:
# labels:
# name: image-puller
# spec:
# containers:
# - name: tools
# image: image-registry.openshift-image-registry.svc:5000/openshift/tools:latest
# command: ["tail"]
# args: ["-f", "/dev/null"]
# resources:
# limits:
# memory: 20Mi
# requests:
# cpu: 10m
# memory: 10Mi

0 comments on commit 8df1071

Please sign in to comment.