-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bitnami/zipkin] feat: 🎉 Add chart (#29199)
* [bitnami/zipkin] feat: 🎉 Add chart Description of the change This PR adds the helm chart for zipkin, based on the upstream one https://github.com/openzipkin/zipkin-helm/tree/master/charts/zipkin. Features: All Bitnami standards Cassandra as storage backend (with native support for mem and possibility to use others with the custom configuration section) Fully modifiable and adaptable thanks to the use of configurationOverrides and secretConfigurationOverrides TLS support Ingress support HPA, VPA and PDB Security checklists --------- Signed-off-by: Javier J. Salmerón García <[email protected]> Signed-off-by: Bitnami Containers <[email protected]> Co-authored-by: Bitnami Containers <[email protected]>
- Loading branch information
1 parent
df1a61b
commit 558a979
Showing
34 changed files
with
3,828 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
defaultCommandTimeout: 90000, | ||
e2e: { | ||
setupNodeEvents(on, config) {}, | ||
baseUrl: 'http://localhost', | ||
}, | ||
} |
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,16 @@ | ||
/* | ||
* Copyright Broadcom, Inc. All Rights Reserved. | ||
* SPDX-License-Identifier: APACHE-2.0 | ||
*/ | ||
|
||
/// <reference types="cypress" /> | ||
|
||
// We check the pushed trace in the Job | ||
it('should find pushed trace', () => { | ||
cy.visit('/') | ||
cy.get('[data-testid="add-button"]').click(); | ||
cy.contains('li', 'serviceName').click(); | ||
cy.fixture('services').then((service) => { | ||
cy.contains(service.name); | ||
}); | ||
}) |
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,3 @@ | ||
{ | ||
"name": "yelp-main" | ||
} |
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,25 @@ | ||
/* | ||
* Copyright Broadcom, Inc. All Rights Reserved. | ||
* SPDX-License-Identifier: APACHE-2.0 | ||
*/ | ||
|
||
// *********************************************************** | ||
// This example support/index.js is processed and | ||
// loaded automatically before your test files. | ||
// | ||
// This is a great place to put global configuration and | ||
// behavior that modifies Cypress. | ||
// | ||
// You can change the location of this file or turn off | ||
// automatically serving support files with the | ||
// 'supportFile' configuration option. | ||
// | ||
// You can read more here: | ||
// https://on.cypress.io/configuration | ||
// *********************************************************** | ||
|
||
// Import commands.js using ES2015 syntax: | ||
// import './commands'; | ||
|
||
// Alternatively you can use CommonJS syntax: | ||
// require('./commands') |
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,42 @@ | ||
# Copyright Broadcom, Inc. All Rights Reserved. | ||
# SPDX-License-Identifier: APACHE-2.0 | ||
|
||
http: | ||
http://127.0.0.1:{{ .Vars.containerPorts.http }}/api/v2/services: | ||
status: 200 | ||
body: | ||
- /yelp-main/ | ||
http://zipkin:{{ .Vars.service.ports.http }}/api/v2/services: | ||
status: 200 | ||
body: | ||
- /yelp-main/ | ||
http://127.0.0.1:{{ .Vars.containerPorts.http }}/prometheus: | ||
status: 200 | ||
body: | ||
- /armeria_server/ | ||
http://zipkin:{{ .Vars.service.ports.http }}/prometheus: | ||
status: 200 | ||
body: | ||
- /armeria_server/ | ||
|
||
command: | ||
{{- $uid := .Vars.containerSecurityContext.runAsUser }} | ||
{{- $gid := .Vars.podSecurityContext.fsGroup }} | ||
check-user-info: | ||
# The UID and GID should always be either the one specified as vars (always a bigger number that the default) | ||
# or the one randomly defined by openshift (larger values). Otherwise, the chart is still using the default value. | ||
exec: if [ $(id -u) -lt {{ $uid }} ] || [ $(id -G | awk '{print $2}') -lt {{ $gid }} ]; then exit 1; fi | ||
exit-status: 0 | ||
check-configured-env-vars: | ||
exec: env | ||
exit-status: 0 | ||
stdout: | ||
- /AUTOCOMPLETE_TTL.*{{ .Vars.configOverrides.AUTOCOMPLETE_TTL }}/ | ||
|
||
# The secret configuration should be mounted as a file | ||
file: | ||
/bitnami/zipkin/secrets/configuration/QUERY_NAMES_MAX_AGE: | ||
exists: true | ||
filetype: symlink | ||
contents: | ||
- /{{ .Vars.secretConfigOverrides.QUERY_NAMES_MAX_AGE }}/ |
Oops, something went wrong.