Skip to content

Commit

Permalink
try different
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan committed Mar 12, 2024
1 parent 36ae82a commit d3206d2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/fiware/dome-wallet/wallet-driving/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ deployment:
# -- specification of the image pull policy
pullPolicy: IfNotPresent
walletServer:
http: http://dome-wallet-server:8080
ws: ws://dome-wallet-server:8080
http: https://dome-wallet-server.fiware.dev
ws: ws://dome-wallet-server.fiware.dev
keycloakUrl: https://keycloak-wallet.fiware.dev
service:
port: 8088
Expand Down
14 changes: 14 additions & 0 deletions aws/fiware/dome-wallet/wallet-server/templates/certificate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: dome-wallet-server
spec:
## secret the certificate should be stored to, will be referenced by the route
secretName: dome-wallet-server
issuerRef:
## certificate issuer, as created in the cert-manager installation step
kind: ClusterIssuer
name: letsencrypt-aws-prod
commonName: "dome-wallet-server.fiware.dev"
dnsNames:
- "dome-wallet-server.fiware.dev"
16 changes: 16 additions & 0 deletions aws/fiware/dome-wallet/wallet-server/templates/route.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
cert-utils-operator.redhat-cop.io/certs-from-secret: dome-wallet-server
name: dome-wallet-server
spec:
host: dome-wallet-server.fiware.dev
port:
targetPort: 8088
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
to:
kind: Service
name: {{ include "wallet-server.fullname" . }}

0 comments on commit d3206d2

Please sign in to comment.