add container in pod

This commit is contained in:
2024-05-27 21:59:29 -05:00
parent fecc5387f3
commit 50a83c2e03

View File

@@ -18,13 +18,7 @@ home-assistant:
requests: requests:
cpu: 100m cpu: 100m
memory: 256Mi memory: 256Mi
codeserver: codeserver:
type: deployment
replicas: 1
strategy: Recreate
revisionHistoryLimit: 3
containers:
main:
image: image:
repository: linuxserver/code-server repository: linuxserver/code-server
tag: 4.89.1 tag: 4.89.1
@@ -56,7 +50,7 @@ home-assistant:
targetPort: 8123 targetPort: 8123
protocol: HTTP protocol: HTTP
codeserver: codeserver:
controller: codeserver controller: main
ports: ports:
http: http:
port: 8443 port: 8443
@@ -73,7 +67,7 @@ home-assistant:
main: main:
- path: /config - path: /config
readOnly: false readOnly: false
codeserver: main:
main: codeserver:
- path: /config/home-assistant - path: /config/home-assistant
readOnly: false readOnly: false