value.yaml에 podtemplate 추가 방법
This commit is contained in:
21
value.yaml_add_podtemplate.yaml
Normal file
21
value.yaml_add_podtemplate.yaml
Normal 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"
|
||||
Reference in New Issue
Block a user