diff options
author | Aaditya Dhruv <[email protected]> | 2025-04-22 17:29:46 -0500 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2025-05-01 20:19:51 -0500 |
commit | 55298a51cb0cc5e68c5a43869f2f32b899d3a622 (patch) | |
tree | 50d271288502bcff6f0a5133ce0839d883ee8ef7 /roles/fishnet/files |
init
Diffstat (limited to 'roles/fishnet/files')
-rw-r--r-- | roles/fishnet/files/fishnet/Chart.yaml | 6 | ||||
-rw-r--r-- | roles/fishnet/files/fishnet/templates/deployment.yaml | 32 |
2 files changed, 38 insertions, 0 deletions
diff --git a/roles/fishnet/files/fishnet/Chart.yaml b/roles/fishnet/files/fishnet/Chart.yaml new file mode 100644 index 0000000..5c0e9f8 --- /dev/null +++ b/roles/fishnet/files/fishnet/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: fishnet +description: Distributed analysis for lichess +type: application + +version: 0.1.0 diff --git a/roles/fishnet/files/fishnet/templates/deployment.yaml b/roles/fishnet/files/fishnet/templates/deployment.yaml new file mode 100644 index 0000000..4cdc4b4 --- /dev/null +++ b/roles/fishnet/files/fishnet/templates/deployment.yaml @@ -0,0 +1,32 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: "{{ .Chart.Name }}-deployment" + labels: + app: {{ .Chart.Name }} +spec: + replicas: {{ .Values.replicas }} + selector: + matchLabels: + app: {{ .Chart.Name }} + template: + metadata: + labels: + app: {{ .Chart.Name }} + spec: + containers: + - name: fishnet + image: niklasf/fishnet:2 + imagePullPolicy: Always + env: + # - name: CORES + # valueFrom: + # configMapKeyRef: + # name: fishnet-config + # key: cores + - name: KEY + valueFrom: + secretKeyRef: + name: lichess + key: fishnet-private-key + restartPolicy: Always |