update
This commit is contained in:
23
argocd/templates/octopus-tentacle.yaml
Normal file
23
argocd/templates/octopus-tentacle.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: octopus-tentacle
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://gitlab.com/developerdurp/homelab.git
|
||||||
|
targetRevision: main
|
||||||
|
path: octopus-tentacle
|
||||||
|
directory:
|
||||||
|
recurse: true
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: octopus-tentacle
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: false
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|
||||||
7
octopus-tentacle/Chart.yaml
Normal file
7
octopus-tentacle/Chart.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: octopus-tentacle
|
||||||
|
description: A Helm chart for Kubernetes
|
||||||
|
type: application
|
||||||
|
|
||||||
|
version: 0.1.0
|
||||||
|
appVersion: "0.1.0"
|
||||||
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
|
||||||
15
octopus-tentacle/templates/secret.yaml
Normal file
15
octopus-tentacle/templates/secret.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: octopus-tentacle-secret
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
name: vault
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: octopus-tentacle-secret
|
||||||
|
data:
|
||||||
|
- secretKey: key
|
||||||
|
remoteRef:
|
||||||
|
key: secrets/octopus/api
|
||||||
|
property: key
|
||||||
12
octopus-tentacle/templates/service.yaml
Normal file
12
octopus-tentacle/templates/service.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: octopus-tentacle
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 10933
|
||||||
|
targetPort: 10933
|
||||||
|
protocol: TCP
|
||||||
|
selector:
|
||||||
|
app: octopus-tentacle
|
||||||
Reference in New Issue
Block a user