fix: update hipster deployment setup
This commit is contained in:
@@ -37,9 +37,6 @@ spec:
|
||||
string: '{{ .env }}'
|
||||
- name: hostname
|
||||
string: '{{ .hostname }}'
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/hipster/manifests
|
||||
templatePatch: |
|
||||
{{- if .autoSync }}
|
||||
spec:
|
||||
|
||||
@@ -5,12 +5,10 @@ patches:
|
||||
version: v1
|
||||
group: apps
|
||||
kind: Deployment
|
||||
name: hipster
|
||||
path: deployment_patch.yaml
|
||||
- target:
|
||||
version: v1
|
||||
kind: Service
|
||||
name: hipster
|
||||
path: service_patch.yaml
|
||||
resources:
|
||||
- _manifest.yaml
|
||||
|
||||
@@ -6,7 +6,7 @@ replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: registry.gitlab.com/oceanbox/hipster
|
||||
tag: latest
|
||||
tag: v2.5.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
init:
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: hipster-env
|
||||
namespace: atlantis
|
||||
stringData:
|
||||
SEQ_APIKEY: bFdYPKLDvnau3fQa1vRV
|
||||
type: Opaque
|
||||
@@ -4,11 +4,11 @@
|
||||
"slurmApi": "slurm/v0.0.38/",
|
||||
"dbdApi": "slurmdbd/v0.0.38/",
|
||||
"user": "serf",
|
||||
"password": "wooqueiLee3ao0ha"
|
||||
"password": ""
|
||||
},
|
||||
"amqp": {
|
||||
"auth": "user:bunny",
|
||||
"host": "10.1.8.60:30673"
|
||||
"auth": "",
|
||||
"host": "prod-rabbitmq.rabbitmq.svc"
|
||||
},
|
||||
"archmeister": "https://archmeister.srv.oceanbox.io",
|
||||
"pubsubName": "pubsub",
|
||||
|
||||
@@ -17,17 +17,14 @@ spec:
|
||||
- name: username
|
||||
value: user
|
||||
- name: password
|
||||
value:
|
||||
secretKeyRef:
|
||||
name: rabbitmq-secret
|
||||
secretKeyRef:
|
||||
name: prod-rabbitmq
|
||||
key: rabbitmq-password
|
||||
- name: queueName
|
||||
value: <x>-slurm-job-events
|
||||
value: prod-hipster-slurm-job-events
|
||||
- name: durable
|
||||
value: true
|
||||
- name: contentType
|
||||
value: "application/json"
|
||||
scopes:
|
||||
- staging-hipster
|
||||
- production-hipster
|
||||
- x-review-hipster
|
||||
- hipster
|
||||
@@ -0,0 +1,2 @@
|
||||
SLURM_PASSWORD=wooqueiLee3ao0ha
|
||||
SEQ_APIKEY=bFdYPKLDvnau3fQa1vRV
|
||||
@@ -25,6 +25,11 @@
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
|
||||
value: /healthz
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: AMQP_USER
|
||||
value: user
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
@@ -37,4 +42,4 @@
|
||||
path: /spec/template/spec/containers/0/envFrom/-
|
||||
value:
|
||||
secretRef:
|
||||
name: hipster-env
|
||||
name: prod-hipster-env
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
namePrefix: production-
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
secretGenerator:
|
||||
- name: hipster-appsettings
|
||||
files:
|
||||
- appsettings.json
|
||||
- name: prod-hipster-appsettings
|
||||
files:
|
||||
- appsettings.json
|
||||
- name: prod-hipster-env
|
||||
envs:
|
||||
- default.env
|
||||
patches:
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: hipster
|
||||
path: deployment_patch.yaml
|
||||
resources:
|
||||
- ../base
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"password": "wooqueiLee3ao0ha"
|
||||
},
|
||||
"amqp": {
|
||||
"auth": "user:bunny",
|
||||
"host": "10.1.8.60:30673"
|
||||
"auth": "",
|
||||
"host": "staging-rabbitmq.rabbitmq.svc"
|
||||
},
|
||||
"archmeister": "https://archmeister.beta.oceanbox.io",
|
||||
"pubsubName": "pubsub",
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
#
|
||||
# Create a queue binding for receiving events from RabbitMQ.
|
||||
# Used by Hipster to get info about changes in job status from slurm.
|
||||
#
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: slurm-events
|
||||
spec:
|
||||
type: bindings.rabbitmq
|
||||
version: v1
|
||||
metadata:
|
||||
- name: hostname
|
||||
value: staging-rabbitmq.rabbitmq.svc
|
||||
- name: protocol
|
||||
value: amqp
|
||||
- name: username
|
||||
value: user
|
||||
- name: password
|
||||
secretKeyRef:
|
||||
name: staging-rabbitmq
|
||||
key: rabbitmq-password
|
||||
- name: queueName
|
||||
value: staging-hipster-slurm-job-events
|
||||
- name: durable
|
||||
value: true
|
||||
- name: contentType
|
||||
value: "application/json"
|
||||
scopes:
|
||||
- hipster
|
||||
@@ -0,0 +1,2 @@
|
||||
SLURM_PASSWORD=wooqueiLee3ao0ha
|
||||
SEQ_APIKEY=bFdYPKLDvnau3fQa1vRV
|
||||
@@ -42,4 +42,4 @@
|
||||
path: /spec/template/spec/containers/0/envFrom/-
|
||||
value:
|
||||
secretRef:
|
||||
name: hipster-env
|
||||
name: staging-hipster-env
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
namePrefix: staging-
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
secretGenerator:
|
||||
- name: hipster-appsettings
|
||||
files:
|
||||
- appsettings.json
|
||||
- name: staging-hipster-appsettings
|
||||
files:
|
||||
- appsettings.json
|
||||
- name: staging-hipster-env
|
||||
envs:
|
||||
- default.env
|
||||
patches:
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: hipster
|
||||
path: deployment_patch.yaml
|
||||
resources:
|
||||
- ../base
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
fullnameOverride: hipster
|
||||
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
fullnameOverride: hipster
|
||||
|
||||
image:
|
||||
tag: d3af2100-debug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user