mirror of
https://github.com/coder/code-server.git
synced 2024-12-28 12:14:18 +03:00
fd55139c82
This means that you have to turn on features now instead of disabling them like auth and https. In addition: - Allow multiple options for auth (only password for now). - Combine the install docs since they had many commonalities and - generally simplified them (hopefully not too much). - Move all example configs into docs/examples.
44 lines
719 B
YAML
44 lines
719 B
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: code-server
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: code-server
|
|
namespace: code-server
|
|
spec:
|
|
ports:
|
|
- port: 8443
|
|
name: https
|
|
protocol: TCP
|
|
selector:
|
|
app: code-server
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: code-server
|
|
name: code-server
|
|
namespace: code-server
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: code-server
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: code-server
|
|
spec:
|
|
containers:
|
|
- image: codercom/code-server
|
|
imagePullPolicy: Always
|
|
name: code-server
|
|
ports:
|
|
- containerPort: 8443
|
|
name: https
|