-
Notifications
You must be signed in to change notification settings - Fork 581
Translate topic section in italian language #1602
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 18 commits
Commits
Show all changes
377 commits
Select commit
Hold shift + click to select a range
b61b902
fix headers visually cut off by announcement bar
scottrigby e5e696a
Merge pull request #1804 from scottrigby/hip-0024-v4-pre-release-notes
scottrigby d229206
Merge pull request #1802 from paigecalvert/hip-0024-i18n
paigecalvert 05faa0d
[HIP-0024] Fix: Docs breadcrumb respecting current version
scottrigby afc8c9c
[HIP-0024] Fix waves height with announcement bar
scottrigby ad86b7b
Adding post on Helms 10th birthday
mattfarina c746378
port 'Helm Turns 10' blog post to docusaurus
scottrigby c38e0e2
[HIP-0024] Fix Blog TOC sticky offset with announcement bar
scottrigby 953194d
Merge branch 'helm:main' into feature/topic-it
nfantoni 89b380a
[HIP-0024] Add blog author breadcrumbs
scottrigby 2e4b743
Merge pull request #1815 from scottrigby/hip-0024-fix-breadcumb-docs-…
scottrigby 61f86b1
Merge pull request #1822 from scottrigby/hip-0024-fix-blog-toc-sticky…
scottrigby b1ba9cb
Merge pull request #1821 from scottrigby/hip-0024-fix-waves-height-wi…
scottrigby 910f92e
Merge pull request #1823 from scottrigby/hip-0024-helm4-site-upgrade
scottrigby 288d29b
Merge pull request #1820 from scottrigby/hip-0024-blog-author-breadcr…
scottrigby 3c55333
Merge branch 'helm:main' into feature/topic-it
nfantoni 601e872
[HIP-0024] clean up files from Hugo site no longer necessary for Docu…
scottrigby affc213
Completely rework v2 docs copying to retain correct urls for easier r…
scottrigby 827e133
Move docs/commands back to dosc/helm for easier redirects
scottrigby 7107350
Completely rework automation scripts, add migrate:v2 and migrate:v3 y…
scottrigby c3771a0
Translate HomeCommunity component dates
scottrigby 8233e24
Fix broken links and anchors in v2 docs
scottrigby ce011c9
Update architectural decisions and v2 and v2 docusaurus migration guides
scottrigby 9368f36
fix v3 index sidebar position and update scripts to fix inconsistenci…
scottrigby 55b4fe3
Remove duplicate helm section slug
scottrigby 43dea5b
Merge pull request #1819 from scottrigby/hip-0024-clean-up-hugo-files
scottrigby b2ec88b
[HIP-0024] clean up migrate scripts
scottrigby a64cf6c
Merge pull request #1829 from scottrigby/hip-0024-clean-up-migrate-sc…
scottrigby 5437444
Merge branch 'helm:main' into feature/topic-it
nfantoni e4b02a1
Merge branch 'helm:main' into feature/topic-it
nfantoni f680a40
Update the netify build command and env vars
paigecalvert 102470d
remove nvmrc
paigecalvert c76e5b3
Temporarily change broken links to warn
paigecalvert 5ae2a67
Merge pull request #1833 from paigecalvert/hip-0024-netlify-build
scottrigby 409a162
Fix broken relative links in all locales
paigecalvert 4776f70
Add missing category json. Undo unnecessary link changes.
paigecalvert 019ea49
Automate absolute links to files. Also apply all transformations to a…
scottrigby cac0310
fix: clarify that the repo is a chart repository
TerryHowe 5ee8071
Update provenance.md
giuliocalzo 4221135
fix: get rid of build warning (#1656)
TerryHowe c5635b6
Add Ukrainian translation for Helm documentation
Andygol 1a1b7e7
sync upstream
Andygol d0282e1
Fix typos in Ukrainian documentation
Andygol 2965ccf
Update Ukrainian description in config.toml
Andygol 8f3a6f7
Update helm_registry_logout.md
Andygol 287757e
Update helm_registry_login.md
Andygol 4dd4139
Helm v3 development now happens on the dev-v3 branch
mattfarina dca39b5
Add CRD page(ja) (#1663)
RyuSA 0f155a0
adding new supporter
robertsirc 013d6db
adjusting image size
robertsirc f2aea3c
fixing image size for realz this time
robertsirc a7f2373
really trying to fix this image
robertsirc 1ce8ada
feat: Added docs for multi-platform plugin hook support (#1627)
stevehipwell 2df5154
Adding redirect for helm/v4 to the code
mattfarina 27fef81
Add plugin `helm-tui` (#1669)
pidanou 7900fba
clarify global scope meaning for named templates
lgerard-pass f705fce
Remove note in a note wording
lgerard-pass a1dc450
Update content/en/docs/chart_template_guide/named_templates.md
karenhchu 43dc7f5
fix: yaml examples with bad doc separator (#1654)
TerryHowe a83c1be
Add Replicated logo
scottrigby 5f0d67d
Add Redhat logo
scottrigby 7ed031f
chore: remove unused redirects to reduce confusion (#1645)
TerryHowe d2ffea0
fix: suggest using registry over repository
TerryHowe 8bc1f14
Update content/en/docs/topics/chart_repository.md
TerryHowe e56be13
Adding K8Studio to community related tools
guiqui 5bc1792
Add Dockerfile and .dockerignore with targets in Makefile
Andygol 6e9c7e0
Update Dockerfile and Makefile to support dynamic Hugo version
Andygol 1600ef6
Add pineapple to the pizzaToppings array
621111b
[uk] add translation Go SDK and examples documentation
Andygol ccde95c
[uk] Update uk.toml
Andygol eb3c788
Apply suggestions from code review
Andygol f9c9b47
chore: update sdkexamples go version (#1678)
TerryHowe 3c0ab76
Replace deprecated "helm delete" with "helm uninstall" (#1689)
dnskr a2b9d06
Generate docs for release 3.17.0
scottrigby ee90ac9
Update current version and next feature release params
scottrigby da38ed2
Update version skew per https://github.com/helm/helm/pull/13555
scottrigby 1d86875
docs: add note about namespace-scoped resources (#1690)
ht-vo 90bbbbc
Add missing helm global args. Reorder the flags to appear in same ord…
artemmikhalitsin ce64350
Add helm-cel plugin to related.md (#1694)
idsulik 21b5fb3
fix: typo in CheatSheet.md (#1691)
dkarczmarski d6cb377
Moving myself to emeritus
bridgetkromhout 534d3fb
Fix broken links for sdk examples source
benoittgt 380a3af
Fix anchor text typo in gosdk.md (#1700)
sglre6355 96f34d3
chore: Add build workflow for sdkexamples (#1657)
TerryHowe 150faa2
Translate char_tips docs to Korean (#1701)
JDhyeok aea1301
Add randBytes to function list (#1703)
lukaslihotzki-f 79f503f
chore: Run go mod tidy on sdkexamples (#1704)
TerryHowe ed63568
chore: update sdkexamples for latest helm (#1709)
TerryHowe 88de68a
Create helm-at-kubecon-eu-25.md
karenhchu e344524
Update content/en/blog/helm-at-kubecon-eu-25.md
karenhchu 12b08ea
Update content/en/blog/helm-at-kubecon-eu-25.md
karenhchu 318e96e
Update content/en/blog/helm-at-kubecon-eu-25.md
karenhchu b5027b7
Update helm-at-kubecon-eu-25.md
karenhchu 7f96c6e
Update helm-at-kubecon-eu-25.md
karenhchu c7643f1
Bump helm.sh/helm/v3 from 3.17.2 to 3.17.3 in /sdkexamples (#1716)
dependabot[bot] 2cc5773
Bump golang.org/x/net from 0.37.0 to 0.38.0 in /sdkexamples (#1718)
dependabot[bot] 993e951
chore: remove archived and update plugin link (#1727)
Sacquer 7dee04e
Adding Cloudsmith to the list of hosted registries
ndouglas-cloudsmith 76d22b8
RepoFlow supports hosting private Helm registries using the OCI stand…
100tomer 3f51da9
Fix typo in korean docs (#1739)
juchanei 52c9081
docs: add missing sprig function chunk (#1737)
msvticket fdb9ac3
[ru] fix and translate using_helm.md (#1731)
burnedoutman 1369b2c
Generate doc for 3.18.1
benoittgt b8596e6
Update version skew
benoittgt 71aaf7a
Set the proper version following n-3 rule
benoittgt 3dd3b48
[docs] - toYaml / toYamlPretty (#1720)
jamoflaw ea22471
Bump helm.sh/helm/v3 from 3.17.3 to 3.18.4 in /sdkexamples (#1742)
dependabot[bot] f1a0f1e
Update chart_tests.md
BobDu e8fd4c0
Update chart_tests.md
BobDu df425af
Add gosdk example to zh doc and fix bad link (#1746)
jincong8973 5cec94b
Fix typo in French documentation (#1747)
vprivat-ads 592095e
Update English instructions for Debian installation to point to the n…
mattfox 50ff3cb
Add blog post
mattfox d4638fb
Remove to-be-broken link in installation instructions.
mattfox ef2031a
Add Buildkit URL
mattfox 934f730
Update chart_tests.md
BobDu 22396b8
Update chart_tests.md
BobDu 25a3d64
Adding blog on Helm v4 alpha/beta/rc
mattfarina ed1cfea
Handling feedback on Path to helm v4 post
mattfarina 295efe2
Add gjenkins8 to helm-www OWNERS
scottrigby 2dcae2e
Fix Korean translations and update Apt installation instructions (#1779)
rappire 309e092
Update website for v3.19.0
scottrigby edd3c6e
Redirect to Helm 4 Release Party Sponsorship Prospectus
scottrigby 6ecf05a
Add scottrigby to helm-www OWNERS
scottrigby 2e2cddc
Fix all the typos with help of `typos` CLI
Veetaha 013f85a
Update docs contribution instructions in readme and localization.md
paigecalvert 3bcf1b0
fix markdown numbered lists
paigecalvert f04c3d1
Docusaurus in-place site initialization with classic theme
scottrigby 49956a5
Update Makefile and Containerfile for docusaurus
scottrigby 2fe9001
Rework CSS and JS and new homepage layout for Docusaurus
scottrigby 7ded027
Remove blog edit links - better for community docs than published aut…
scottrigby 488aa65
Blog content (en-us only)
scottrigby 7761695
docs migration script and rules files
scottrigby 47c00cb
Migrate v3 docs content from hugo to docusaurus
scottrigby 7a26481
Automatically detects .md and .mdx extensions. Needed, otherwise woul…
scottrigby bb82e36
Navbar version dropdown
scottrigby fea20a7
autocollapse docs sidebar items. also allow hiding it for full width …
scottrigby 1970aa7
Script to add docs category index cards
scottrigby 688b2af
Add docs category index cards (generated with script)
scottrigby 4d1bc72
Script to regenerate CLI docs. Needs testing but get.helm.sh is down …
scottrigby 6248016
Fix absolute links
scottrigby 98ab61a
[HIP-0024] V2 Docs conversion (+ version configs and migration scripts)
scottrigby 8478a43
[HIP-0024] V4 Docs content (pre-release)
scottrigby 49221d9
Temporarily disable announcement bar until styles are fixed
scottrigby 8bcae90
Fix docs link. their smart link gets confusing with first page in ver…
scottrigby 755b261
Make announcement bar fit our site style
scottrigby d11a536
Improve helm 4 section. Add Hazel and float content classes
scottrigby ba62724
v4 content changes
scottrigby 08752bc
Fix announcement bar link
scottrigby fd99abd
Bump sidebar viewport and TOC when announcement is present
scottrigby 6b54989
Copy edits for Helm 4 pre-release notes content
paigecalvert c9913c8
Additional cleanup of content reorganization
scottrigby 4ecb733
fix headers visually cut off by announcement bar
scottrigby cc2dd4a
Rework CSS and JS and new homepage layout for Docusaurus
scottrigby 23b54a4
Add i18n directory with homepage translations for all locales
paigecalvert 3dd9f99
Update translations based on existing locale toml files
paigecalvert 37dec4b
Add v3 localized docs content
paigecalvert 60ccb47
Adds translated blogs
paigecalvert 8c9a691
Translate blog options.json files, fix broken links, add truncation t…
paigecalvert 9f699c3
Add sidebar translations and minor edit to footer translations:
paigecalvert f17beb1
Fix authors in ko blogs metadata
paigecalvert 1e3e1c0
Fixes broken links for all locales
paigecalvert 3789ecb
Fix additional broken links
paigecalvert 029cbb1
Add file with guidance for writing markdown links to work across locales
paigecalvert be43c6f
Remove toml files used by Hugo and translate README-ko to align with …
paigecalvert 9c57436
[HIP-0024] Fix: Docs breadcrumb respecting current version
scottrigby d1f0953
[HIP-0024] Fix Blog TOC sticky offset with announcement bar
scottrigby 2853752
[HIP-0024] Fix waves height with announcement bar
scottrigby bffa9ea
Adding post on Helms 10th birthday
mattfarina 4c43e46
port 'Helm Turns 10' blog post to docusaurus
scottrigby d9bb19f
[HIP-0024] Add blog author breadcrumbs
scottrigby cffa012
[HIP-0024] clean up files from Hugo site no longer necessary for Docu…
scottrigby ad5b056
Completely rework v2 docs copying to retain correct urls for easier r…
scottrigby c2b5861
Move docs/commands back to dosc/helm for easier redirects
scottrigby 9807f44
Completely rework automation scripts, add migrate:v2 and migrate:v3 y…
scottrigby 60214b4
Translate HomeCommunity component dates
scottrigby f5f86cc
Fix broken links and anchors in v2 docs
scottrigby 2341df1
Update architectural decisions and v2 and v2 docusaurus migration guides
scottrigby 012a5c1
fix v3 index sidebar position and update scripts to fix inconsistenci…
scottrigby 3e35f3a
Remove duplicate helm section slug
scottrigby 6ac660d
[HIP-0024] clean up migrate scripts
scottrigby b4c1c62
add it.toml
nfantoni 1ff1c28
add topic it
nfantoni c76a3ec
add config.toml
nfantoni 9450897
Road to Helm 4 Blog
sabre1041 1ed9f9f
Update 2024-06-26-the-road-to-helm-4.md
karenhchu fbab500
Add blog to announce end of support for Helm 2to3 tool
hickeyma c89d515
Update after reviews
hickeyma 591aba4
fix phrase
nfantoni e7e8a57
Fix phrase tgz
nfantoni 7843e3b
Update content/it/docs/_index.md
nfantoni 64bacdc
Update content/it/docs/topics/advanced.md
nfantoni f4cca12
Update content/it/docs/topics/advanced.md
nfantoni d632dac
Update content/it/docs/topics/advanced.md
nfantoni 172ee6a
Update content/it/docs/topics/chart_repository.md
nfantoni 4ca4a71
Update content/it/docs/topics/charts_hooks.md
nfantoni 25d642f
Update content/it/docs/topics/plugins.md
nfantoni 9076a98
Update content/it/docs/topics/plugins.md
nfantoni 1dcef81
Update content/it/docs/topics/plugins.md
nfantoni 581a4ef
Update content/it/docs/topics/plugins.md
nfantoni 2250694
fix advanced
nfantoni 0f04677
add new version
nfantoni 6b359aa
fix release namespace
nfantoni e31b548
Update content/it/docs/topics/charts.md
nfantoni 09e954c
fix parts missing
nfantoni 08b6c6e
fix test
nfantoni 4e4bff2
Update content/it/docs/topics/charts.md
nfantoni a6fd430
fix secret
nfantoni a5b2ed1
Update content/it/docs/topics/charts_hooks.md
nfantoni da82a04
Update content/it/docs/topics/kubernetes_apis.md
nfantoni 4afe207
Update content/it/docs/topics/kubernetes_apis.md
nfantoni 9662790
Update content/it/docs/topics/library_charts.md
nfantoni 9a25b44
Update content/it/docs/topics/plugins.md
nfantoni b5f8da6
Update content/it/docs/topics/plugins.md
nfantoni 11d512c
Update content/it/docs/topics/plugins.md
nfantoni 63d5ee0
fix typo
nfantoni 6885462
restore plugins
nfantoni 24a8f8d
fix typo
nfantoni 9d042b1
Update i18n/it.toml
nfantoni 85a5572
Update content/it/docs/topics/registries.md
nfantoni 00881ba
Update content/it/docs/topics/charts.md
nfantoni bf0317b
fix typo
nfantoni bf9d2f2
add italy language
nfantoni 861712a
Update code.json
nfantoni 4361a9d
Merge branch 'hip-0024-helm4-site-upgrade' into feature/locate-it-helm4
nfantoni e76f8d5
restore onbroken
nfantoni fc137ef
Merge branch 'feature/locate-it-helm4' of github.com:nfantoni/helm-ww…
nfantoni 9b9a1c8
Merge pull request #1835 from scottrigby/hip-0024-broken-links
scottrigby 2f58ac0
Add info about markdown links to ARCHITECTURAL_DECISIONS
paigecalvert 71e7073
Fix typo
paigecalvert a2beed7
Add link to docusaurus issue
paigecalvert ac62bd0
Merge branch 'hip-0024-helm4-site-upgrade' into feature/locate-it-helm4
nfantoni 727f1f8
Corrections and clarifications
paigecalvert e559e3a
Add Netlify caching
scottrigby b91c1a2
Edits based on feedback
paigecalvert fe5339d
Merge pull request #1834 from scottrigby/hip-0024-netlify-cache-builds
scottrigby 16f263b
Merge pull request #1837 from paigecalvert/hip-0024-links-guidance
paigecalvert d23d63a
Change path for v2 docs
paigecalvert 232aa16
Fix hero height and scroll issues on production builds
scottrigby 376d91b
Merge pull request #1839 from paigecalvert/hip-0024-add-v2-path
scottrigby 3c27a0b
Merge pull request #1840 from scottrigby/hip-0024-fix-styles-on-build…
scottrigby ce33fa2
Merge branch 'hip-0024-helm4-site-upgrade' into feature/locate-it-helm4
nfantoni a8b67c5
Merge branch 'helm:main' into feature/topic-it
nfantoni 4a0cae8
resolve conflict
nfantoni 359b380
fix merge
nfantoni 22eb238
Merge branch 'feature/topic-it' into feature/locate-it-helm4
nfantoni 7dba1d4
fix merge
nfantoni 21d748b
restore blog
nfantoni 0a12594
restore readme
nfantoni c5b56a6
Merge pull request #1 from nfantoni/feature/locate-it-helm4
nfantoni 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- | ||
| title: "Docs Home" | ||
| description: "Tutto quello che c'è da sapere su come è organizzata la documentazione." | ||
| --- | ||
|
|
||
| # Benvenuto | ||
|
|
||
| Benvenuti nella documentazione di [Helm](https://helm.sh/). Helm è il gestore di pacchetti | ||
| per Kubernetes e si possono avere informazioni di base dettagliate nel | ||
| [report CNCF Helm Project Journey](https://www.cncf.io/cncf-helm-project-journey/). | ||
|
|
||
| # Come è organizzata la documentazione | ||
|
|
||
| Helm ha molta documentazione. Una panoramica di alto livello su come è organizzata la documentazione vi aiuterà a capire dove cercare determinate cose: | ||
|
|
||
| - I [Tutorial]({{< relref path="/docs/chart_template_guide/getting_started" lang="en" >}}) vi accompagnano attraverso una serie di passi per creare il vostro primo Chart Helm. | ||
| Iniziate da qui se siete alle prime armi con Helm. | ||
| - Le [guide agli argomenti](topics) trattano gli argomenti e i concetti chiave a un livello piuttosto alto e forniscono informazioni di base e spiegazioni utili. | ||
| - Le [Guide alla comunità]({{< relref path="/docs/community" lang="en" >}}) trattano argomenti incentrati sulla comunità di Helm. | ||
| Iniziate da qui se volete saperne di più sul processo di sviluppo di Helm e su come potete contribuire. | ||
| - Le [guide how-to]({{< relref path="/docs/howto" lang="en" >}}) sono ricette. Vi guidano attraverso i passi necessari per affrontare problemi e casi d'uso chiave. Sono più avanzate dei tutorial e presuppongono una certa conoscenza del funzionamento di Helm. | ||
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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| title: "Topics" | ||
| weight: 3 | ||
| --- | ||
|
|
||
| # Topic Guides | ||
|
|
||
| Qui troverete le introduzioni a tutte le parti principali di Helm che dovrete o vorrete conoscere. |
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 |
|---|---|---|
| @@ -0,0 +1,188 @@ | ||
| --- | ||
| title: "Tecniche Avanzate di Helm" | ||
| description: "Spiega varie funzioni avanzate per i power user di Helm" | ||
| aliases: ["/docs/advanced_helm_techniques"] | ||
| weight: 9 | ||
| --- | ||
|
|
||
| Questa sezione illustra varie funzioni e tecniche avanzate di utilizzo di Helm. | ||
| Le informazioni contenute in questa sezione sono destinate ai "power user" di Helm che desiderano | ||
| personalizzare e manipolare in modo avanzato i Charts e le Release. Ognuna di queste funzioni avanzate comporta dei compromessi e degli avvertimenti, per cui | ||
nfantoni marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ognuna di esse deve essere utilizzata con attenzione e con una conoscenza approfondita di Helm. O in altre parole, | ||
| ricordate il [principio di Peter Parker](https://en.wikipedia.org/wiki/With_great_power_comes_great_responsibility) | ||
|
|
||
| ## Post Rendering | ||
| Il post rendering offre agli installatori di Charts la possibilità di manipolare manualmente, | ||
| configurare e/o convalidare i manifesti renderizzati prima che vengano installati da Helm. | ||
| Questo permette agli utenti con esigenze di configurazione avanzate di poter usare strumenti come [`kustomize`](https://kustomize.io) per applicare le modifiche alla configurazione senza la necessità di dover fare il fork di un Chart pubblico o senza richiedere ai manutentori del Chart di specificare ogni singola opzione di | ||
nfantoni marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| di configurazione per un pezzo di software. Esistono anche casi d'uso per iniettare strumenti comuni e macchine secondarie in ambienti aziendali o l'analisi dei manifesi prima della distribuzione. | ||
nfantoni marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ### Prerequisiti | ||
| - Helm 3.1+ | ||
|
|
||
| ### Utilizzo | ||
| Un post-renderer può essere un qualsiasi eseguibile che accetta manifest Kubernetes renderizzati | ||
| su STDIN e restituisce manifest Kubernetes validi su STDOUT. Dovrebbe restituire | ||
| un codice di uscita non-0 in caso di fallimento. Questa è l'unica "API" tra i | ||
| due componenti. Permette una grande flessibilità in ciò che si può fare con il processo di | ||
| post-rendering. | ||
|
|
||
| Un post renderer può essere usato con `install`, `upgrade` e `template`. Per usare un | ||
| post-renderer, usare il flag `--post-renderer` con il percorso del renderer | ||
| che si desidera utilizzare: | ||
|
|
||
| ```shell | ||
| $ helm install mychart stable/wordpress --post-renderer ./path/to/executable | ||
| ``` | ||
|
|
||
| Se il percorso non contiene separatori, la ricerca verrà effettuata in $PATH, altrimenti | ||
| risolverà qualsiasi percorso relativo in un percorso completamente qualificato. | ||
|
|
||
| Se si desidera utilizzare più post-renderizzatori, richiamateli tutti in uno script o | ||
| insieme in un qualsiasi strumento binario con cui è stato implementato. In bash, questo potrebbe essere | ||
| semplice come `renderer1 | renderer2 | renderer3`. | ||
|
|
||
| Si può vedere un esempio di utilizzo di `kustomize` come renderizzatore di post | ||
| [qui](https://github.com/thomastaylor312/advanced-helm-demos/tree/master/post-render). | ||
|
|
||
| ### Avvertenze | ||
| Quando si usano i postrenderer, ci sono diverse cose importanti da tenere a mente. | ||
| La più importante è che quando si usa un post renderer, tutte le persone che modificano quella release **DOVREBBERO** usare lo stesso renderizzatore per poter essere | ||
| ripetibili. Questa caratteristica è stata costruita appositamente per consentire a qualsiasi utente di | ||
| cambiare il renderer che sta utilizzando o di smettere di usare un renderer, ma questo | ||
| dovrebbe essere fatto deliberatamente per evitare modifiche accidentali o perdite di dati. | ||
|
|
||
| Un'altra nota importante riguarda la sicurezza. Se si usa un post-renderer, bisogna assicurarsi che provenga da una fonte affidabile (come nel caso di qualsiasi altro eseguibile arbitrario | ||
| ). L'uso di renderizzatori non affidabili o non verificati NON è raccomandato, in quanto hanno pieno accesso ai modelli renderizzati, che spesso contengono dati | ||
| dati segreti. | ||
|
|
||
| ### Post renderer personalizzati | ||
| La fase di post renderer offre una flessibilità ancora maggiore se utilizzata con l'SDK Go. Ogni post renderer deve solo implementare la seguente interfaccia di Go: | ||
|
|
||
| ```go | ||
| type PostRenderer interface { | ||
| // Run expects a single buffer filled with Helm rendered manifests. It | ||
| // expects the modified results to be returned on a separate buffer or an | ||
| // error if there was an issue or failure while running the post render step | ||
| Run(renderedManifests *bytes.Buffer) (modifiedManifests *bytes.Buffer, err error) | ||
| } | ||
| ``` | ||
|
|
||
| Per ulteriori informazioni sull'uso di Go SDK, vedere la sezione [Go SDK](#go-sdk). | ||
|
|
||
| ## Go SDK | ||
| Helm 3 ha presentato un SDK per Go completamente ristrutturato per una migliore esperienza nella | ||
| di creazione di software e strumenti che sfruttano Helm. La documentazione completa è disponibile | ||
| all'indirizzo [https://pkg.go.dev/helm.sh/helm/v3](https://pkg.go.dev/helm.sh/helm/v3), ma | ||
| una breve panoramica di alcuni dei pacchetti più comuni e di un semplice esempio qui di seguito. | ||
|
|
||
| ### Package overview | ||
nfantoni marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Questo è un elenco dei pacchetti più comunemente utilizzati, con una semplice spiegazione di ciascuno di essi: | ||
|
|
||
| - `pkg/action`: Contiene il "client" principale per eseguire le azioni di Helm. Questo è lo stesso pacchetto che la CLI utilizza sotto il cofano. Se si ha solo bisogno di eseguire comandi di Helm base da un altro programma Go, questo pacchetto fa al caso vostro. | ||
| - `pkg/{chart,chartutil}`: Metodi e helper utilizzati per caricare e manipolare i chart. | ||
| - `pkg/cli` e i suoi sottopacchetti: Contiene tutti i gestori per le variabili d'ambiente standard di Helm e i suoi sottopacchetti contenenti file di output e di values | ||
| - `pkg/release`: Definisce l'oggetto `Release` e i suoi stati. | ||
|
|
||
| Ovviamente ci sono molti altri pacchetti oltre a questi, quindi date un'occhiata alla documentazione per maggiori informazioni! | ||
| ### Simple example | ||
| Questo è un semplice esempio di come fare `helm list` usando l'SDK di Go: | ||
|
|
||
| ```go | ||
| package main | ||
|
|
||
| import ( | ||
| "log" | ||
| "os" | ||
|
|
||
| "helm.sh/helm/v3/pkg/action" | ||
| "helm.sh/helm/v3/pkg/cli" | ||
| ) | ||
|
|
||
| func main() { | ||
| settings := cli.New() | ||
|
|
||
| actionConfig := new(action.Configuration) | ||
| // You can pass an empty string instead of settings.Namespace() to list | ||
| // all namespaces | ||
| if err := actionConfig.Init(settings.RESTClientGetter(), settings.Namespace(), os.Getenv("HELM_DRIVER"), log.Printf); err != nil { | ||
| log.Printf("%+v", err) | ||
| os.Exit(1) | ||
| } | ||
|
|
||
| client := action.NewList(actionConfig) | ||
| // Only list deployed | ||
| client.Deployed = true | ||
| results, err := client.Run() | ||
| if err != nil { | ||
| log.Printf("%+v", err) | ||
| os.Exit(1) | ||
| } | ||
|
|
||
| for _, rel := range results { | ||
| log.Printf("%+v", rel) | ||
| } | ||
| } | ||
|
|
||
| ``` | ||
|
|
||
| ## Supporti di archiviazione | ||
|
|
||
| Helm 3 ha cambiato la memorizzazione predefinita delle informazioni sul rilascio in Segreti nello spazio dei nomi della release. | ||
| Helm 2 per impostazione predefinita memorizza le informazioni di rilascio come ConfigMaps nello spazio dei nomi dell'istanza di Tiller. Le sottosezioni che seguono | ||
| mostrano come configurare i diversi backend. Questa configurazione si basa sul parametro | ||
| variabile d'ambiente `HELM_DRIVER`. Può essere impostata su uno dei valori: | ||
| `[configmap, secret, sql]`. | ||
|
|
||
| ### ConfigMap storage backend | ||
|
|
||
| Per abilitare il backend ConfigMap, è necessario impostare la variabile d'ambiente | ||
| `HELM_DRIVER` a `configmap`. | ||
|
|
||
| Si può impostare in una shell come segue: | ||
|
|
||
| ```shell | ||
| export HELM_DRIVER=configmap | ||
| ``` | ||
|
|
||
| Se si vuole passare dallo storage predefinito a quello di ConfigMap, si dovrà fare la migrazione per conto proprio. È possibile recuperare le informazioni sul rilascio con il seguente comando: | ||
|
|
||
| ```shell | ||
| kubectl get secret --all-namespaces -l "owner=helm" | ||
| ``` | ||
|
|
||
| **NOTE DI PRODUZIONE**: Le informazioni di rilascio includono i contenuti dei charts e dei file di values, e quindi potrebbero contenere dati sensibili (come password, chiavi private e altre credenziali) che devono essere protetti dall'accesso non autorizzato. Quando si gestisce l'autorizzazione di Kubernetes, ad esempio con | ||
| [RBAC](https://kubernetes.io/docs/reference/access-authn-authz/rbac/), è possibile concedere un accesso più ampio alle risorse ConfigMap, mentre si limita l'accesso alle risorse Secret. | ||
| Ad esempio, il ruolo predefinito [user-facing | ||
| utente](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles) | ||
| "view" garantisce l'accesso alla maggior parte delle risorse, ma non ai segreti. Inoltre, i dati dei segreti | ||
| possono essere configurati per [archiviazione criptata](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/). | ||
| Tenere presente questo aspetto se si decide di passare al backend ConfigMap, perché potrebbe esporre i dati sensibili dell'applicazione. | ||
|
|
||
| ### SQL storage backend | ||
|
|
||
| Esiste un backend di archiviazione SQL in ***beta*** che memorizza le informazioni di rilascio in un database SQL. | ||
|
|
||
| L'uso di un backend di memorizzazione di questo tipo è particolarmente utile se le informazioni sul rilascio pesano più di 1 MB (in tal caso, non possono essere memorizzate in ConfigMaps/Secrets a causa dei limiti interni dell'archivio di valori chiave etcd di Kubernetes). | ||
|
|
||
| Per abilitare il backend SQL, è necessario distribuire un database SQL e impostare la variabile d'ambiente `HELM_DRIVER` a `sql`. I dettagli del DB sono impostati con la variabile d'ambiente `HELM_DRIVER_SQL_CONNECTION_STRING`. | ||
|
|
||
| È possibile impostarla in una shell come segue: | ||
|
|
||
| ```shell | ||
| export HELM_DRIVER=sql | ||
| export HELM_DRIVER_SQL_CONNECTION_STRING=postgresql://helm-postgres:5432/helm?user=helm&password=changeme | ||
| ``` | ||
|
|
||
| > Note: Solo PostgreSQL è supportato al momento. | ||
|
|
||
| **NOTE DI PRODUZIONE**: Si consiglia di: | ||
| - Preparare il database alla produzione. Per PostgreSQL, consultare i documenti di [Server Administration](https://www.postgresql.org/docs/12/admin.html) per maggiori dettagli. | ||
| - Abilitare la [gestione dei permessi](/docs/permissions_sql_storage_backend/) per | ||
| rispecchiare Kubernetes RBAC per le informazioni di rilascio | ||
|
|
||
| Se si vuole passare dal backend predefinito al backend SQL, si dovrà fare la migrazione per conto proprio. È possibile recuperare le informazioni sul rilascio con il seguente comando: | ||
|
|
||
| ```shell | ||
| kubectl get secret --all-namespaces -l "owner=helm" | ||
| ``` | ||
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 |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| --- | ||
| title: "Architettura di Helm" | ||
| description: "Descrive l'architettura di Helm ad alto livello." | ||
| aliases: ["/docs/architecture/"] | ||
| weight: 8 | ||
| --- | ||
|
|
||
| # Architettura di Helm | ||
|
|
||
| Questo documento descrive l'architettura di Helm ad alto livello. | ||
|
|
||
| ## Lo scopo di Helm | ||
|
|
||
| Helm è uno strumento per la gestione dei pacchetti Kubernetes chiamati _charts_. Helm può fare quanto segue: | ||
|
|
||
| - Creare nuovi chart da zero | ||
| - pacchettizzare i chart in archivi (tgz) | ||
nfantoni marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - Interagire con i repository dei chart, dove questi sono memorizzati | ||
| - installare e disinstallare chart in un cluster Kubernetes esistente | ||
| - Gestire il ciclo di rilascio dei chart installati con Helm. | ||
|
|
||
| Per Helm, ci sono tre concetti importanti: | ||
|
|
||
| 1. Il _chart_ è un insieme di informazioni necessarie per creare un'istanza di un'applicazione Kubernetes. | ||
| 2. Il _config_ contiene informazioni di configurazione che possono essere unite in un chart impacchettato per creare un oggetto rilasciabile. | ||
| 3. Una _release_ è un'istanza in esecuzione di un _chart_, combinato con una specifica | ||
| _config_. | ||
|
|
||
| ## Componenti | ||
|
|
||
| Helm è un eseguibile implementato in due parti distinte: | ||
|
|
||
| Il **Client Helm** è un client a riga di comando per gli utenti finali. Il client è | ||
| responsabile di quanto segue: | ||
|
|
||
| - Sviluppo del chart locale | ||
| - Gestione dei repository | ||
| - Gestione dei rilasci | ||
| - Interfacciamento con la libreria Helm | ||
| - Invio di chart da installare | ||
| - Richiedere l'aggiornamento o la disinstallazione di release esistenti. | ||
|
|
||
| La **Libreria Helm** fornisce la logica per l'esecuzione di tutte le operazioni di Helm. Si | ||
| si interfaccia con il server API di Kubernetes e fornisce le seguenti funzionalità: | ||
|
|
||
| - Combinazione di un chart e di una configurazione per costruire un rilascio. | ||
| - Installazione dei chart in Kubernetes e fornitura del successivo oggetto di rilascio. | ||
| - Aggiornamento e disinstallazione dei chart interagendo con Kubernetes. | ||
|
|
||
| La libreria Helm standalone incapsula la logica Helm in modo che possa essere sfruttata da diversi client. | ||
|
|
||
| ## Implementazione | ||
|
|
||
| Il client e la libreria Helm sono scritti nel linguaggio di programmazione Go. | ||
|
|
||
| La libreria utilizza il client Kubernetes per comunicare con Kubernetes. | ||
| Attualmente, questa libreria utilizza REST+JSON. Memorizza le informazioni in Secrets situatiall'interno di Kubernetes. Non ha bisogno di un proprio database. | ||
|
|
||
| I file di configurazione sono, quando possibile, scritti in YAML. | ||
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.