-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.5.5] Allow Customizing http.tls #55
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
124ceef
[v0.5.5] Allow Customizing http.tls
onelapahead c0a2568
mTLS integration test
onelapahead 41ab1dd
missing mtls integration test values
onelapahead e88e46e
chart and app version bumps
onelapahead 80d3275
allow overridding the URL for ff registration
onelapahead File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ deps: | |
helm repo add bitnami https://charts.bitnami.com/bitnami || true | ||
helm upgrade --install --set postgresqlPassword=firef1y --set extraEnv[0].name=POSTGRES_DATABASE --set extraEnv[0].value=firefly postgresql bitnami/postgresql --version 10.16.2 | ||
kubectl create secret generic custom-psql-config --dry-run --from-literal="url=postgres://postgres:[email protected]:5432/postgres?sslmode=disable" -o json | kubectl apply -f - | ||
kubectl apply -n default -f manifests/mtls-cert.yaml | ||
|
||
starter: charts/firefly/local-values.yaml | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
config: | ||
debugEnabled: true | ||
adminEnabled: true | ||
metricsEnabled: true | ||
preInit: true | ||
|
||
organizationName: "firefly-os" | ||
organizationKey: "0xeb7284ce905e0665b7d42cabe31c76c45da1d331" | ||
fireflyContractAddress: "0xeb7284ce905e0665b7d42cabe31c76c45da1d254" | ||
|
||
ethconnectUrl: "http://ethconnect.firefly-os" | ||
|
||
postgresUrl: "postgres://postgres:[email protected]:5432?sslmode=disable" | ||
postgresAutomigrate: true | ||
|
||
ipfsApiUrl: "http://ipfs.firefly-os:5001" | ||
ipfsGatewayUrl: "http://ipfs.firefly-os:8080" | ||
|
||
addresssResolverUrlTemplate: "http://address-resolver.firefly-os/wallets/{{.Key}}" | ||
|
||
httpTls: | ||
caFile: /etc/pki/internal/ca.crt | ||
certFile: /etc/pki/internal/tls.crt | ||
keyFile: /etc/pki/internal/tls.key | ||
enabled: true | ||
clientAuth: true | ||
|
||
core: | ||
metrics: | ||
serviceMonitor: | ||
enabled: true | ||
|
||
extraVolumeMounts: | | ||
- name: firefly-mtls | ||
mountPath: /etc/pki/internal/ | ||
|
||
extraVolumes: | | ||
- name: firefly-mtls | ||
secret: | ||
secretName: firefly-mtls-tls | ||
|
||
dataexchange: | ||
certificate: | ||
enabled: true | ||
issuerRef: | ||
kind: ClusterIssuer | ||
name: selfsigned-ca | ||
|
||
tlsSecret: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: firefly-mtls | ||
spec: | ||
issuerRef: | ||
name: selfsigned-ca | ||
kind: ClusterIssuer | ||
secretName: firefly-mtls-tls | ||
commonName: firefly-mtls | ||
dnsNames: | ||
- firefly.default.svc |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to adjust the expiration for this cert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its an example cert used for integration testing, not included as part of the actual chart.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks