2023-04-27 20:20:18 +03:00
|
|
|
# uBlue-OS forge podman deployment
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Pod
|
|
|
|
metadata:
|
|
|
|
name: ublue-os_forge
|
|
|
|
spec:
|
2023-05-04 21:53:08 +03:00
|
|
|
restartPolicy: OnFailure
|
2023-04-27 20:20:18 +03:00
|
|
|
volumes:
|
2023-05-04 18:02:05 +03:00
|
|
|
- name: ublue-os_forge-certs-pvc
|
2023-04-27 20:20:18 +03:00
|
|
|
persistentVolumeClaim:
|
2023-05-04 18:02:05 +03:00
|
|
|
claimName: ublue-os_forge-certs
|
2023-04-28 21:03:45 +03:00
|
|
|
|
2023-04-27 20:20:18 +03:00
|
|
|
- name: ublue-os_forge-registry-pvc
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: ublue-os_forge-registry
|
2023-04-28 21:03:45 +03:00
|
|
|
|
2023-04-29 22:28:08 +03:00
|
|
|
- name: ublue-os_forge-semaphore-pvc
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: ublue-os_forge-semaphore
|
|
|
|
|
2023-04-27 20:20:18 +03:00
|
|
|
containers:
|
2023-04-28 21:03:45 +03:00
|
|
|
- name: rvproxy.ublue.local
|
|
|
|
image: rvproxy
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 128Mi
|
|
|
|
cpu: 200m
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /certs
|
2023-05-04 18:02:05 +03:00
|
|
|
name: ublue-os_forge-certs-pvc
|
2023-04-28 21:03:45 +03:00
|
|
|
ports:
|
|
|
|
- containerPort: 443
|
|
|
|
hostPort: 443
|
|
|
|
protocol: TCP
|
|
|
|
|
2023-04-27 20:20:18 +03:00
|
|
|
- name: registry.ublue.local
|
|
|
|
image: registry
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 512Mi
|
|
|
|
cpu: 200m
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /certs
|
2023-05-04 18:02:05 +03:00
|
|
|
name: ublue-os_forge-certs-pvc
|
2023-04-27 20:20:18 +03:00
|
|
|
subPath: _.ublue.local
|
|
|
|
- mountPath: /var/lib/registry
|
|
|
|
name: ublue-os_forge-registry-pvc
|
|
|
|
ports:
|
|
|
|
- containerPort: 5000
|
|
|
|
protocol: TCP
|
2023-04-28 21:03:45 +03:00
|
|
|
|
2023-04-29 22:28:08 +03:00
|
|
|
- name: semaphore.ublue.local
|
|
|
|
image: semaphore
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 512Mi
|
|
|
|
cpu: 200m
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /var/lib/semaphore
|
|
|
|
name: ublue-os_forge-semaphore-pvc
|
2023-05-04 18:02:05 +03:00
|
|
|
- mountPath: /certs
|
|
|
|
subPath: ssh
|
|
|
|
name: ublue-os_forge-certs-pvc
|
|
|
|
readOnly: true
|
2023-04-29 22:28:08 +03:00
|
|
|
ports:
|
|
|
|
- containerPort: 3000
|
|
|
|
protocol: TCP
|
|
|
|
|
2023-05-01 19:17:56 +03:00
|
|
|
- name: setup.ublue.local
|
|
|
|
image: setup
|
2023-05-04 18:02:05 +03:00
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /certs
|
|
|
|
subPath: ssh
|
|
|
|
name: ublue-os_forge-certs-pvc
|
|
|
|
readOnly: true
|
2023-05-04 21:53:08 +03:00
|
|
|
workingDir: /ansible
|
|
|
|
command:
|
|
|
|
- ansible-playbook
|
|
|
|
args:
|
|
|
|
- main.yml
|
2023-05-01 19:17:56 +03:00
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 512Mi
|
|
|
|
cpu: 200m
|
|
|
|
|
2023-04-27 20:20:18 +03:00
|
|
|
initContainers:
|
|
|
|
- name: minica.ublue.local
|
|
|
|
image: minica
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /certs
|
2023-05-04 18:02:05 +03:00
|
|
|
name: ublue-os_forge-certs-pvc
|