mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-14 01:41:23 +00:00
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: buildbuddy-app
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
serviceName: buildbuddy-app
|
|
selector:
|
|
matchLabels:
|
|
app: buildbuddy-app
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: buildbuddy-app
|
|
spec:
|
|
serviceAccountName: buildbuddy
|
|
containers:
|
|
- name: buildbuddy-app
|
|
image: gcr.io/flame-public/buildbuddy-app-onprem:v2.12.1
|
|
env:
|
|
- name: ENV
|
|
value: "onprem"
|
|
- name: SERVICE_NAME
|
|
value: "app-backend"
|
|
- name: VERSION
|
|
value: "prod-1.0"
|
|
ports:
|
|
- name: http
|
|
containerPort: 8080
|
|
- name: grpc
|
|
containerPort: 1985
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: database
|
|
- mountPath: "/config.yaml"
|
|
name: config
|
|
subPath: "config.yaml"
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: buildbuddy
|
|
- name: database
|
|
persistentVolumeClaim:
|
|
claimName: buildbuddy
|