Created
April 15, 2024 17:06
-
-
Save johnbedeir/ef442b9b8b17e96788687f51a79eaa61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: craftscene-nginx-deployment | |
namespace: craftscene-app | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: craftscene-nginx | |
template: | |
metadata: | |
labels: | |
app: craftscene-nginx | |
spec: | |
volumes: | |
- name: nginx-config-volume | |
configMap: | |
name: nginx-config | |
containers: | |
- name: nginx | |
image: mseel3ttar/craftscene-nginx:latest | |
ports: | |
- containerPort: 80 | |
volumeMounts: | |
- name: nginx-config-volume | |
mountPath: /etc/nginx/nginx.conf | |
subPath: nginx.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment