Skip to content
Snippets Groups Projects
Commit 47b875b0 authored by Maksim Gorelik's avatar Maksim Gorelik
Browse files

fixed charts and db connection password

parent 5617269d
No related branches found
No related tags found
No related merge requests found
Pipeline #40151 canceled
......@@ -26,8 +26,6 @@ spec:
spec:
securityContext:
{{- include "app.securitycontext" . | nindent 8 }}
imagePullSecrets:
- name: {{ .Values.image.pullSecrets }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ default .Chart.AppVersion .Values.image.tag }}"
......@@ -77,11 +75,11 @@ spec:
- name: "STORAGESERVICE_CRYPTO_SIGNKEY"
value: {{ .Values.config.crypto.signKey }}
- name: "STORAGESERVICE_MESSAGING_ENABLED"
value: {{.Values.config.messaging.enabled}}
value: "{{.Values.config.messaging.enabled}}"
- name: "STORAGESERVICE_MESSAGING_STORAGETOPIC"
value: {{.Values.config.messaging.storageTopic}}
- name: "CLOUDEVENTPROVIDER_MESSAGING_PROTOCOL"
value: "nats"
value: {{.Values.config.messaging.host}}
- name: "CLOUDEVENTPROVIDER_MESSAGING_NATS_URL"
value: {{.Values.config.messaging.protocol}}
{{- if .Values.config.vault }}
......
......@@ -2,10 +2,10 @@ replicaCount: 1
name: storage-service
image:
repository: node-654e3bca7fbeeed18f81d7c7.ps-xaas.io/ocm/storage-service
repository: node-654e3bca7fbeeed18f81d7c7.ps-xaas.io/ocm-wstack
imagePullPolicy: Always
name: storage-service
tag: latest
tag: main
podAnnotations: {}
......@@ -43,7 +43,7 @@ ingress:
- path: /storage(/|$)(.*)
port: 8080
tls:
- secretName: letsencrypt-service-tls
- secretName: xfsc-wildcard
hosts:
- ocm.xfsc.dev
security:
......@@ -53,10 +53,10 @@ security:
config:
port: 8080
cassandra:
hosts: cassandra-dev.development.svc.cluster.local:9042
hosts: cassandra.cassandra.svc.cluster.local:9042
keyspace: user_space
user: cassandra
passwordSecret: cassandra-dev
passwordSecret: cassandra
passwordKey: cassandra-password
crypto:
signKey: test
......@@ -66,11 +66,12 @@ config:
basedomain: http://localhost:8080
country: DE
region: EU
mode: REMOTE
mode: DIRECT
messaging:
enabled: true
storageTopic: storage
host: http://localhost:4222
protocol: nats
vault:
address: http://vault.vault.svc.cluster.local:8200
tokenName: vault
......
......@@ -78,7 +78,7 @@ func Connection() (SessionInterface, error) {
if cassandraConfig.User != "" && cassandraConfig.Password != "" {
cluster.Authenticator = gocql.PasswordAuthenticator{
Username: cassandraConfig.User,
Password: cassandraConfig.User,
Password: cassandraConfig.Password,
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment