Skip to content

Commit

Permalink
chore:improvements and images updated
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsaporiti committed Nov 10, 2023
1 parent 5c7c424 commit 83474c2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion k8s/helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Define Rhs contract
*/}}
{{- define "helpers.api-rsh-contract" -}}
{{- if eq .Values.mainnet true }}
"0x80667fdB4CC6bBa3EDaE419f6BFBc129e78d2fC9"
"0xF5d22B2385D8cA41A649df53AE010F7b4e776dB0"
{{- else }}
"0x76EB7216F2400aC18C842D8C76739F3B8E619DB9"
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion k8s/helm/templates/issuer-node-api-ui-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ data:
ISSUER_API_IDENTITY_METHOD: {{ .Values.apiUiIssuerNode.configMap.issuerApiIdentityMethod }}
ISSUER_API_IDENTITY_NETWORK: {{ include "helpers.issuer-network" . | nindent 4}}
ISSUER_API_ENVIRONMENT: {{ .Values.apiUiIssuerNode.configMap.issuerApiEnvironment }}
ISSUER_API_KEY_TYPE: {{ .Values.issuerKeyType }}
ISSUER_API_UI_KEY_TYPE: {{ .Values.issuerKeyType }}
2 changes: 1 addition & 1 deletion k8s/helm/templates/postgres-pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
hostPath:
path: "/data/volume_1"
path: "/data/volume_6"

---

Expand Down
2 changes: 1 addition & 1 deletion k8s/helm/templates/vault-pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
accessModes:
- ReadWriteOnce
hostPath:
path: "/data/volume_2"
path: "/data/volume_4"

---

Expand Down
18 changes: 9 additions & 9 deletions k8s/helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
issuernode_repository_image: martinsaporiti/issuernode
issuernode_repository_tag: 2.0.0
issuernode_ui_repository_image: martinsaporiti/issuernodeui
issuernode_ui_repository_tag: 2.0.0
issuernode_repository_image: 0xpolygon/issuernode
issuernode_repository_tag: latest
issuernode_ui_repository_image: 0xpolygon/issuernode-ui
issuernode_ui_repository_tag: latest

apiIssuerNode:
deployment:
Expand All @@ -10,7 +10,7 @@ apiIssuerNode:
env:
issuerDatabaseUrl: postgres://$(ISSUER_DB_USER):$(ISSUER_DB_PASSWORD)@postgres-issuer-node-svc:$(ISSUER_DB_PORT)/$(ISSUER_DB_NAME)?sslmode=disable
issuerKeyStoreAddress: http://vault-issuer-node-svc:$(ISSUER_KEY_STORE_PORT)
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
labels:
app: api-issuer-node-deployment
livenessProbe:
Expand Down Expand Up @@ -89,7 +89,7 @@ apiUiIssuerNode:
env:
issuerDatabaseUrl: postgres://$(ISSUER_DB_USER):$(ISSUER_DB_PASSWORD)@postgres-issuer-node-svc:$(ISSUER_DB_PORT)/$(ISSUER_DB_NAME)?sslmode=disable
issuerKeyStoreAddress: http://vault-issuer-node-svc:$(ISSUER_KEY_STORE_PORT)
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
args:
- '"./migrate; ./platform_ui"'
command:
Expand All @@ -108,7 +108,7 @@ apiUiIssuerNode:
env:
issuerDatabaseUrl: postgres://$(ISSUER_DB_USER):$(ISSUER_DB_PASSWORD)@postgres-issuer-node-svc:$(ISSUER_DB_PORT)/$(ISSUER_DB_NAME)?sslmode=disable
issuerKeyStoreAddress: http://vault-issuer-node-svc:$(ISSUER_KEY_STORE_PORT)
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
args:
- '"sleep 30; ./migrate; ./issuer_initializer;"'
command:
Expand Down Expand Up @@ -162,7 +162,7 @@ pendingPublisherIssuerNode:
env:
issuerDatabaseUrl: postgres://$(ISSUER_DB_USER):$(ISSUER_DB_PASSWORD)@postgres-issuer-node-svc:$(ISSUER_DB_PORT)/$(ISSUER_DB_NAME)?sslmode=disable
issuerKeyStoreAddress: http://vault-issuer-node-svc:$(ISSUER_KEY_STORE_PORT)
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
labels:
app: pending-publisher-issuer-node-deployment
containerName: pending-publisher
Expand All @@ -175,7 +175,7 @@ uiIssuerNode:
deployment:
replicaCount: 1
name: ui-issuer-node
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
uiconfigMapRef: issuer-node-ui-configmap
containerName: ui
containerPort: 80
Expand Down

0 comments on commit 83474c2

Please sign in to comment.