46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: octopus-tentacle
|
|
labels:
|
|
app: octopus-tentacle
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: octopus-tentacle
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: octopus-tentacle
|
|
spec:
|
|
containers:
|
|
- name: octopus-tentacle
|
|
image: registry.durp.info/octopusdeploy/tentacle:latest
|
|
imagePullPolicy: Always
|
|
securityContext:
|
|
allowPrivilegeEscalation: true
|
|
ports:
|
|
- name: http
|
|
containerPort: 10933
|
|
env:
|
|
- name: ACCEPT_EULA
|
|
value: "Y"
|
|
- name: ListeningPort
|
|
value: "10933"
|
|
- name: TargetEnvironment
|
|
value: "Development"
|
|
- name: ServerUrl
|
|
value: "https://octopus.internal.durp.info"
|
|
- name: TargetRole
|
|
value: "k3s"
|
|
- name: CustomPublicHostName
|
|
value: "192.168.20.131"
|
|
- name: PublicHostNameConfiguration
|
|
value: "Custom"
|
|
- name: ServerApiKey
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: octopus-tentacle-secret
|
|
key: key
|