Skip to content

Commit

Permalink
Update openshift-podman-deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shakerg authored Jan 12, 2024
1 parent 838dc8a commit 73f8042
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions openshift/manifests/openshift-podman-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,30 @@ apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: openshift-podman-runner
# Claim namespace if needed
# namespace:
spec:
# Using "HorizontalRunnerAutoscaler"
replicas: 0 # 0 if using HRA
# replicas: 0
template:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
spec:
# Assign runner group
group: OpenShift
# Add lables for targeting
dockerdWithinRunnerContainer: false #disable the docker container
group: ${RUNNER_GROUP_NAME}
labels:
- podman,openshift
# Adding the security context
securityContext:
privileged: true
fsGroup: 1000
# Name of the GitHub Org
organization: ocpdude
- podman
organization: ${ORG}
imagePullPolicy: Always
resources:
limits:
cpu: "4"
memory: "8Gi"
cpu: "1"
memory: "1Gi"
requests:
cpu: "2"
memory: "2Gi"
image: ghcr.io/ocpdude/podman-runner:6
cpu: "250m"
memory: "250Mi"
image: ${PATH_TO_IMAGE}

# Optionally break out the storage layer for podman,
# handy for large builds that need persistant data
# between runners
Expand Down

0 comments on commit 73f8042

Please sign in to comment.