bun init
This commit is contained in:
31
apps/static-site/deployment.yaml
Normal file
31
apps/static-site/deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: static-site
|
||||
namespace: default
|
||||
labels:
|
||||
app: static-site
|
||||
app.kubernetes.io/part-of: static-site
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: static-site
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: static-site
|
||||
app.kubernetes.io/part-of: static-site
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: harbor.apps.kopikopi.com.ru/drone/test:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: html
|
||||
mountPath: /usr/share/nginx/html
|
||||
volumes:
|
||||
- name: html
|
||||
configMap:
|
||||
name: static-site-html
|
||||
Reference in New Issue
Block a user