value.yaml에 podtemplate 추가 방법

This commit is contained in:
변정훈
2023-03-15 01:18:56 +00:00
parent d12ed0c9e9
commit b74508db73

View File

@@ -0,0 +1,21 @@
podTemplates:
podman: |
- name: junghun-podman
namespace: jenkins
label: junghun-cicd-podman
volumes:
- persistentVolumeClaim:
claimName: test1
mountPath: /root/buildfile
containers:
- name: podman
image: quay.io/podman/stable
command: "/bin/sh -c"
args: "cat"
ttyEnabled: false
privileged: false
workingDir: /home/jenkins/podman
#resourceRequestCpu: "400m"
#resourceRequestMemory: "512Mi"
#resourceLimitCpu: "1"
#resourceLimitMemory: "1024Mi"