-
-
Notifications
You must be signed in to change notification settings - Fork 2
feat(midaz): productize chart on lerian-common library (full, no regression) #1741
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
Closed
Closed
Changes from 9 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
0578ef4
feat(midaz): productize chart on lerian-common library (full, no regr…
guimoreirar 3cd3042
feat(midaz): wire service discovery via serviceDiscovery.env (clean c…
guimoreirar b2e8476
Merge remote-tracking branch 'origin/main' into HEAD
guimoreirar 423888b
chore(midaz): sync Chart.lock to lerian-common 1.2.0
guimoreirar b23f68a
feat(midaz): grouped multiTenant + streaming sections (derivation model)
guimoreirar 7edca7e
feat(midaz): expose env-wide global.{serviceDiscovery,streaming,multi…
guimoreirar 8f0f252
fix(midaz): address CodeRabbit review on productized configmaps, ingr…
guimoreirar 0c4594a
fix(midaz): keep lerian-common helper unchanged; SD tls-skip-verify d…
guimoreirar 60ebefe
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar b9dcfdb
chore(midaz): refresh Chart.lock for lerian-common 1.2.1
guimoreirar 110c0d5
feat(midaz): bundle optional HashiCorp Vault subchart for CRM KMS
guimoreirar 26cf5a2
fix(midaz): allowlist bundled dev-vault root token in chart-standard …
guimoreirar 752cbb7
fix(midaz): honor legacy configmap.SD_ENABLED (backward-compat)
guimoreirar 66ab70d
feat(midaz): sync ledger/crm configmap+secret to app .env parity
guimoreirar 3b8c2ed
Revert "feat(midaz): sync ledger/crm configmap+secret to app .env par…
guimoreirar 7be07bb
feat(midaz): productize remaining client-facing flat env blocks (ledg…
guimoreirar abdc750
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar 7a2112d
docs(midaz): add chart README
cb6cba1
docs(midaz): correct stale README defaults (ledger.enabled=true, imag…
guimoreirar 41c8b36
fix(midaz): default vault off, honor legacy configmap MT block, pin l…
guimoreirar 9dff84a
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar 1acccff
fix(midaz): pass configmap to SD/streaming helpers (honor legacy serv…
guimoreirar ca8ec97
fix(midaz): single-source env via global.environment; restore ledger …
guimoreirar d3b7f8a
fix(midaz): gate multi-tenant Secret on resolved MULTI_TENANT_ENABLED…
guimoreirar e00479a
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar e7115c0
fix(midaz): bump lerian-common pin to 1.3.0
guimoreirar 1a8b8c1
fix(midaz): restore ledger ENABLE_TELEMETRY default to true
guimoreirar a695904
fix(midaz): pass component dedicated datastores map to datastore.value
guimoreirar 21da0ce
fix(midaz): consume global.observability for OTEL endpoint/env/enable
guimoreirar 15a2f3b
docs(midaz): correct Vault default + lerian-common version notes
guimoreirar 6daaf1d
feat(validate): render-assertion gate for productized chart contracts
guimoreirar 6153960
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar 7281bd1
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar 3c22683
fix(midaz): re-pin lerian-common 1.3.1 + render-assertion contracts
guimoreirar e085738
fix(midaz): enforce SASL password + harden render-assertion gate
guimoreirar 79e5559
fix(midaz): CRM deployment-mode + KMS approle, PDB/revisionHistory pr…
guimoreirar f815e27
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar 48d5af1
fix(midaz): re-pin lerian-common 1.3.2 + close-out render assertions
guimoreirar 23b7285
fix(midaz): pass resolved SASL username to streaming.secret
guimoreirar 612c54c
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar 2553cc1
fix(midaz): re-pin lerian-common 1.3.3 (SASL username fail-fast)
guimoreirar 582e6f3
Merge remote-tracking branch 'origin/main' into feat/midaz-productiza…
guimoreirar 536a438
fix(midaz): re-pin lerian-common 1.3.4 (full SASL contract) + assertions
guimoreirar 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,61 +1,12 @@ | ||
| {{- $gIng := (.Values.global | default dict).ingress | default dict -}} | ||
| {{- if and .Values.crm.enabled .Values.crm.ingress.enabled -}} | ||
| {{- $fullName := include "midaz-crm.fullname" . -}} | ||
| {{- $svcPort := .Values.crm.service.port -}} | ||
| {{- if and .Values.crm.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} | ||
| {{- if not (hasKey .Values.crm.ingress.annotations "kubernetes.io/ingress.class") }} | ||
| {{- $_ := set .Values.crm.ingress.annotations "kubernetes.io/ingress.class" .Values.crm.ingress.className}} | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} | ||
| apiVersion: networking.k8s.io/v1 | ||
| {{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} | ||
| apiVersion: networking.k8s.io/v1beta1 | ||
| {{- else -}} | ||
| apiVersion: extensions/v1beta1 | ||
| {{- end }} | ||
| kind: Ingress | ||
| metadata: | ||
| name: {{ $fullName }} | ||
| labels: | ||
| {{- include "midaz-crm.labels" (dict "context" . "name" .Values.crm.name ) | nindent 4 }} | ||
| {{- with .Values.crm.ingress.annotations }} | ||
| annotations: | ||
| {{- toYaml . | nindent 4 }} | ||
| {{- end }} | ||
| spec: | ||
| {{- if and .Values.crm.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} | ||
| ingressClassName: {{ .Values.crm.ingress.className }} | ||
| {{- end }} | ||
| {{- if .Values.crm.ingress.tls }} | ||
| tls: | ||
| {{- range .Values.crm.ingress.tls }} | ||
| - hosts: | ||
| {{- range .hosts }} | ||
| - {{ . | quote }} | ||
| {{- end }} | ||
| secretName: {{ .secretName }} | ||
| {{- end }} | ||
| {{- end }} | ||
| rules: | ||
| {{- range .Values.crm.ingress.hosts }} | ||
| - host: {{ .host | quote }} | ||
| http: | ||
| paths: | ||
| {{- range .paths }} | ||
| - path: {{ .path }} | ||
| {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} | ||
| pathType: {{ .pathType }} | ||
| {{- end }} | ||
| backend: | ||
| {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} | ||
| service: | ||
| name: {{ $fullName }} | ||
| port: | ||
| number: {{ $svcPort }} | ||
| {{- else }} | ||
| serviceName: {{ $fullName }} | ||
| servicePort: {{ $svcPort }} | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- include "lerian-common.ingress" (dict | ||
| "context" . | ||
| "ingress" .Values.crm.ingress | ||
| "global" $gIng | ||
| "subdomain" "crm" | ||
| "name" (include "midaz-crm.fullname" .) | ||
| "labels" (include "midaz-crm.labels" (dict "context" . "name" .Values.crm.name)) | ||
| "svcPort" .Values.crm.service.port | ||
| ) }} | ||
| {{- end }} |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.