diff --git a/infrastructure/local/docker-compose-infra.yml b/infrastructure/local/docker-compose-infra.yml index d5950f0f3..f3c085e6c 100644 --- a/infrastructure/local/docker-compose-infra.yml +++ b/infrastructure/local/docker-compose-infra.yml @@ -76,7 +76,7 @@ services: "--spider", "--proxy", "off", - "http://localhost:8200/v1/sys/health?standbyok=true", + "http://vault:8200/v1/sys/health?standbyok=true", ] interval: 10s timeout: 3s diff --git a/k8s/helm/readme.md b/k8s/helm/readme.md index 357757143..90ea0a4ef 100644 --- a/k8s/helm/readme.md +++ b/k8s/helm/readme.md @@ -33,6 +33,7 @@ export PRIVATE_KEY='YOUR PRIVATE KEY' # Private key of the wal export PUBLIC_IP='YOUR PUBLIC IP' # Provide the PUBLIC IP if you have any otherwise leave this field. export MAINNET=false # Specify if the network is main, if this value is false issuer node will use amoy export UIPASSWORD="my ui password" # Password for user: ui-user. This password is used when the user visit the ui. +export UI_INSECURE=true # Set as true if the ui doesn't require basic auth. If this value true UIPASSWORD can be blank export ISSUERNAME="My Issuer" # Issuer Name. This value is shown in the UI export ISSUER_ETHERUM_URL="https://polygon-amoy.XXXX" # Blockchain RPC. export INGRESS_ENABLED=true # If this value is false you must provide a STATIC_IP @@ -61,7 +62,8 @@ helm install "$APP_INSTANCE_NAME" . \ --set vaultpwd="$VAULT_PWD" \ --set rhsMode="$RHS_MODE" \ --set rhsUrl="$RHS_URL" \ ---set issuerCustomDidMethods="$ISSUER_CUSTOM_DID_METHODS" +--set-json issuerCustomDidMethods="$ISSUER_CUSTOM_DID_METHODS" \ +--set issuerUiInsecure=$UI_INSECURE ``` In the code above, the PUBLIC_IP is not provided because is not needed when the ingress is enabled. diff --git a/k8s/helm/templates/issuer-node-ui-configmap.yaml b/k8s/helm/templates/issuer-node-ui-configmap.yaml index b201df838..5a71be8a9 100644 --- a/k8s/helm/templates/issuer-node-ui-configmap.yaml +++ b/k8s/helm/templates/issuer-node-ui-configmap.yaml @@ -14,4 +14,5 @@ data: ISSUER_API_UI_AUTH_PASSWORD: {{ .Values.uiIssuerNode.configMap.issuerApiUiAuthPassword }} ISSUER_API_UI_ISSUER_NAME: {{ .Values.issuerName }} ISSUER_UI_IPFS_GATEWAY_URL: {{ .Values.uiIssuerNode.configMap.issuerUiIpfsGatewayUrl }} - ISSUER_UI_SCHEMA_EXPLORER_AND_BUILDER_URL: {{ .Values.uiIssuerNode.configMap.issuerUiSchemaExplorerAndBuilderUrl }} \ No newline at end of file + ISSUER_UI_SCHEMA_EXPLORER_AND_BUILDER_URL: {{ .Values.uiIssuerNode.configMap.issuerUiSchemaExplorerAndBuilderUrl }} + ISSUER_UI_INSECURE: {{ .Values.issuerUiInsecure | quote }} \ No newline at end of file diff --git a/k8s/helm/values.yaml b/k8s/helm/values.yaml index 4d3146aa8..56ef21c1a 100644 --- a/k8s/helm/values.yaml +++ b/k8s/helm/values.yaml @@ -464,6 +464,7 @@ issuerEthereumUrl: https://polygon-amoy.g.alchemy.com/v2/ mainnet: false publicIP: nil uiPassword: password +issuerUiInsecure: false issuerName: "My Issuer!" ingressEnabled: false privateKey: metamask private key