mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-10 01:01:27 -05:00
update
This commit is contained in:
parent
e1c29bdaca
commit
32b1a35799
5 changed files with 102 additions and 0 deletions
45
octopus-tentacle/templates/deployment.yaml
Normal file
45
octopus-tentacle/templates/deployment.yaml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
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: ServerApiKey
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: octopus-tentacle-secret
|
||||
key: key
|
||||
volumes:
|
||||
- name: octopus-tentacle-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: octopus-tentacle-pvc
|
||||
Loading…
Add table
Add a link
Reference in a new issue