Initialize Secret in Bahasa Indonesia.#14792
Conversation
|
/assign @girikuncoro |
|
Deploy preview for kubernetes-io-master-staging ready! Built with commit d11e062 https://deploy-preview-14792--kubernetes-io-master-staging.netlify.com |
sftim
left a comment
There was a problem hiding this comment.
A few suggestions. I hope these are useful; if they're not, please feel free to skip them.
|
|
||
| Sebagai contoh, untuk menghasilan sebuah Secret dari _file-file_ `./username.txt` dan `./password.txt` | ||
| ```shell | ||
| # Create a kustomization.yaml file with SecretGenerator |
There was a problem hiding this comment.
Should this comment be localized into Bahasa Indonesia?
There was a problem hiding this comment.
@sftim Have difficulties on the glossary_tooltip doesn't rendered properly even though I already created all needed glossaries
| Sebagai contoh, untuk membuat sebuah Secret dari literal `username=admin` dan `password=secret`, | ||
| kamu dapat menspesifikasikan _generator_ Secret pada _file_ `kustomization.yaml` sebagai | ||
| ```shell | ||
| # Create a kustomization.yaml file with SecretGenerator |
There was a problem hiding this comment.
Should this comment be localized into Bahasa Indonesia?
girikuncoro
left a comment
There was a problem hiding this comment.
Thanks for your great work, please address my comments! 🎉 🎉 🎉
| Objek `secret` pada Kubernetes mengizinkan kamu menyimpan dan mengatur informasi yang sifatnya sensitif, seperti | ||
| _passwords_, token OAuth, dan ssh _keys_. Menyimpan informasi yang sifatnya sensitif ini ke dalam `secret` | ||
| cenderung lebih aman dan fleksible jika dibandingkan dengan menyimpan informasi tersebut secara apa adanya pada | ||
| definisi {{< glossary_tooltip term_id="pod" >}} atau di dalam {{< glossary_tooltip text="container image" term_id="image" >}}. |
| pada sebuah Pod: | ||
|
|
||
| 1. Buatlah sebuah Secret, atau gunakan sebuah Secret yang sudah kamu buat sebelumnya. Beberapa Pod dapat merujuk pada sebuah Secret yang sama. | ||
| 1. Modifikasi definisi Pod pada setiap kontainer dimana kamu menginginkan kontainer tersebut dapat mengonsumsi your Pod definition in each container that you wish to consume the value of a secret key to add an environment variable for each secret key you wish to consume. The environment variable that consumes the secret key should populate the secret's name and key in `env[].valueFrom.secretKeyRef`. |
| ## Menggunakan Secret | ||
|
|
||
| Secret dapat di-_mount_ sebagai _volume_ data atau dapat diekspos sebagai | ||
| {{< glossary_tooltip text="variabel-variabel environment" term_id="container-env-variabeles" >}} |
There was a problem hiding this comment.
typo:
| {{< glossary_tooltip text="variabel-variabel environment" term_id="container-env-variabeles" >}} | |
| {{< glossary_tooltip text="variabel-variabel environment" term_id="container-env-variables" >}} |
then
add https://github.com/kubernetes/website/blob/master/content/en/docs/reference/glossary/container-env-variables.md to id/docs/references/glossary/container-env-variables.md
There was a problem hiding this comment.
I think you also need to add more files to the id/docs/references/glossary
|
/retest |
|
Hi @irvifa , I got it working locally: By replacing the tabs per spaces at https://github.com/kubernetes/website/blob/master/layouts/partials/docs/glossary-terms.html @rgarcia:~/gh/irvifa/website
$ git diff
diff --git a/layouts/partials/docs/glossary-terms.html b/layouts/partials/docs/glossary-terms.html
index fcc5171c2..b0153d49f 100644
--- a/layouts/partials/docs/glossary-terms.html
+++ b/layouts/partials/docs/glossary-terms.html
@@ -1,13 +1,13 @@
{{ $glossaryBundle := site.GetPage "page" "docs/reference/glossary" }}
{{- if $glossaryBundle -}}
- {{ $pages := $glossaryBundle.Resources.ByType "page" }}
- {{- range site.Params.language_alternatives -}}
- {{- with (where $glossaryBundle.Translations ".Lang" . ) -}}
- {{ $p := (index . 0) }}
- {{ $pages = $pages | lang.Merge ($p.Resources.ByType "page") }}
- {{ end }}
- {{ end }}
- {{- $.Scratch.Set "glossary_items" $pages -}}
+ {{ $pages := $glossaryBundle.Resources.ByType "page" }}
+ {{- range site.Params.language_alternatives -}}
+ {{- with (where $glossaryBundle.Translations ".Lang" . ) -}}
+ {{ $p := (index . 0) }}
+ {{ $pages = $pages | lang.Merge ($p.Resources.ByType "page") }}
+ {{ end }}
+ {{ end }}
+ {{- $.Scratch.Set "glossary_items" $pages -}}
{{- else -}}
{{- errorf "[%s] Glossary Bundle not found for language. Create at least an index.md file inside docs/reference/glossary" site.Language.Lang -}}
{{- end -}}Maybe @bep can share some insights on this issue. /cc @bep |
|
@raelga: GitHub didn't allow me to request PR reviews from the following users: bep. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@raelga Thanks a lot 👍 |
Using tabs in this partials seems to cause Hugo to parse the partial as a code block instead of rendering the HTML code. Solves #14792 rendering issues.
|
Rebased it after #15408 and it's working like a charm.. |
| Objek `secret` pada Kubernetes mengizinkan kamu menyimpan dan mengatur informasi yang sifatnya sensitif, seperti | ||
| _password_, token OAuth, dan ssh _keys_. Menyimpan informasi yang sifatnya sensitif ini ke dalam `secret` | ||
| cenderung lebih aman dan fleksible jika dibandingkan dengan menyimpan informasi tersebut secara apa adanya pada | ||
| definisi {{< glossary_tooltip term_id="pod" >}} atau di dalam {{< glossary_tooltip text="container image" term_id="image" >}}. |
There was a problem hiding this comment.
Some lines are still breaking for the glossary, not sure why

any clue @raelga ?
There was a problem hiding this comment.
There was a problem hiding this comment.
I already tried to use editorconfig, but still nothing happened 😞
https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
https://www.jetbrains.com/help/idea/configuring-code-style.html
|
|
||
| Untuk menggunakan Secret, sebuah Pod haruslah merujuk pada Secret tersebut. | ||
| Sebuah Secret dapat digunakan di dalam sebuah Pod melalui dua cara: | ||
| sebagai _file_ yang ada di dalam _volume_ {{< glossary_tooltip text="volume" term_id="volume" >}} |
|
I don't speak Bahasa Indonesia |
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
/remove-lifecycle stale |
|
@irvifa you're still looking for reviews on this? |
|
Hi, this is still not working, there’s still broken code formatting in this
PR.
…On Mon, 6 Jan 2020 at 12.07 AM fejta-bot ***@***.***> wrote:
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually
close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta
<https://github.com/fejta>.
/lifecycle stale
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14792?email_source=notifications&email_token=ABYYJZQFGNC2A6YR2TEY6RTQ4IHURA5CNFSM4HWIRGC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEID3D4Y#issuecomment-570929651>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYYJZUSYEYYCWXBBF2RNVLQ4IHURANCNFSM4HWIRGCQ>
.
|
|
let's triage this together and help @irvifa getting this merged |
|
Hi @irvifa @girikuncoro Maybe we need to update something by merging master 🤔 |
|
Ping @irvifa , Just checking if you are working on this pull request? |
|
@kbhawkey Yes, I'm working on this |
|
/cc @wahyuoi |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: girikuncoro The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
|
/hold cancel |



This address #13929