caiyixiang
d6d3dda9c8
Update index.md
2017-01-11 09:06:50 +08:00
Oleg Shalygin
757dd707b6
Update configs with username followed by password
...
The way that the document currently flows and how we typically perceive credentials, we usually set our username first followed by the password.
Seeing the configuration first set password then username seems counter-intuitive. There is nothing wrong with the docs, it is just clearer to view username=>password.
2017-01-04 16:23:20 -08:00
gbzhu
2cc0485a70
fix typos
2016-12-28 17:48:46 +08:00
dongziming
83a6c52ddc
Spelling errors in /docs/
2016-12-23 17:25:27 +08:00
devin-donnelly
4918582b5b
Merge pull request #1672 from agonzalezro/patch-1
...
Use --decode for base64 command
2016-12-21 16:18:45 -08:00
Ben Balter
bfa604351f
add explicit titles to docs
2016-12-15 15:16:54 -05:00
Alexandre González
c029794dc8
Use --decode for base64 command
...
`-d` is used for the Linux version of the command but in the Mac/BSD version they use `-D`.
Using `--decode` we are sure that the flag is compatible with both.
2016-12-08 18:58:47 +01:00
Tremaine Eto
3d7e0b128c
Fixed typo
...
Removed extra "e" in "specify" in the "Secret files permission" section.
2016-11-07 10:16:15 -08:00
devin-donnelly
4aeb2e2932
Merge pull request #1447 from rata/master
...
Clarify secrets file mode might be read in decimal notation
2016-10-27 19:58:26 -07:00
Rodrigo Campos
5b6055a374
Clarify secrets file mode might be read in decimal notation
...
Fixes: https://github.com/kubernetes/kubernetes/issues/33475
2016-10-19 01:03:20 -03:00
Steel Brain
a250e18e2f
🐛 Fix broken JSON format
2016-10-12 05:44:51 +05:30
Jeff Peeler
bdb7016f41
Fix incorrect wording with secrets
...
1) The example given in the section "Using Secrets as Environment
Variables" incorrectly stated the secret was using a volume.
2) The commands used to produce secrets in the section "Use-Case: Pods
with prod / test credentials" has been modified such that the literal
used matches the text for what expected files should be on the
filesystem (changed user to username).
2016-10-04 16:37:24 -04:00
Devin Donnelly
f4457ae677
Merge remote-tracking branch 'origin' into release-1.4
2016-09-23 16:57:30 -07:00
Rodrigo Campos
5319085101
Fix secret file mode bits example on JSON
...
I tested the example on YAML and, wrongly, asumed that JSON supported it too.
Fixes: https://github.com/kubernetes/kubernetes/issues/33162
2016-09-21 20:14:24 -03:00
Derek Mahar
b3d167cfc2
Correct name of secret in example in "Use-Case: Pod with ssh keys".
...
In the example in section "Use-Case: Pod with ssh keys", change name of new SSH secret from "my-secret" to "ssh-key-secret" to match that in the subsequent pod specification that references the secret.
2016-09-20 13:01:18 -04:00
Rodrigo Campos
7f8b65d3e0
Add documentation for secret, configmap and downwardAPI file permissions
...
The patch that adds this feature in core kubernetes,
https://github.com/kubernetes/kubernetes/pull/28936 , was merged and will be
released with kubernetes 1.4.
2016-09-09 00:07:56 -03:00
Jedrzej Nowak
7112d4c53d
Typos and englishify user-guide
2016-09-06 19:01:52 +02:00
Ricky Pai
4c504ad0af
Use different anchor for better navigation
...
the anchor `#use-case-two-containers` will jump the page where the title is not visible, so it's hard to understand the context. `#use-case-secret-visible-to-one-container-in-a-pod` is a better anchor choice since it jumps straight to the title so the context is clear.
2016-08-26 16:25:35 -07:00
foxish
0f18a994c2
Removed non-org members from OWNERS.
2016-08-03 01:31:31 -07:00
foxish
66f28bb820
Adding OWNERS for docs.
2016-08-02 18:13:52 -07:00
johndmulhausen
049e19bfc2
Merge pull request #867 from eyalev/patch-4
...
Add line break between commands
2016-07-19 12:02:12 -07:00
johndmulhausen
6d0dfe00b3
Merge pull request #869 from eyalev/patch-6
...
Remove redundant line
2016-07-19 12:01:54 -07:00
johndmulhausen
e0fb3e0a48
Merge pull request #871 from eyalev/patch-7
...
Remove redundant word
2016-07-19 12:01:18 -07:00
Phillip Wittrock
aa506b565f
Merge pull request #527 from mattdoran/patch-1
...
Inconsistent secret name in db credentials example
2016-07-19 11:22:31 -07:00
Eyal Levin
1c58c91401
Remove redundant word
2016-07-17 17:32:05 +03:00
Eyal Levin
22c41d2dfc
Remove redundant line
...
The link refers to itself.
2016-07-17 16:03:13 +03:00
Eyal Levin
5e9ef0f593
Fix decode flag
...
I'm on Ubuntu 14.04 and `-D` is invalid.
`-d` gets the required output.
2016-07-17 15:39:54 +03:00
Eyal Levin
3676d73665
Add line break between commands
...
Currently the second command seems to "disappear" between the two outputs. This change tries to mitigate it.
2016-07-17 15:16:44 +03:00
johndmulhausen
81aa4c8712
Merge pull request #478 from ingvagabund/extend-secrets-with-key2path-and-atomic-updates
...
Extend secrets docs with key to path mapping and automatic updates
2016-07-06 17:01:15 -07:00
Jan Chaloupka
3589ddbde7
Convert level-5 heading into bold heading
2016-06-01 09:36:16 +02:00
johndmulhausen
588e30e6af
Merge pull request #492 from joonathan/patch-1
...
Use `echo -n` for less ambiguous base64 secret example
2016-05-31 16:32:03 -07:00
johndmulhausen
af55ba8098
Merge pull request #545 from AlginMaduro/patch-1
...
Updated secrets index.md
2016-05-24 16:23:51 -07:00
Pavel Strashkin
6dd070c5d9
Update index.md
...
Fixes typo in "Using Secrets as Environment Variables" section
2016-05-21 15:42:15 -07:00
AlginMaduro
05276f34cf
Updated index.md
...
Without -n option to echo. Without the -n the file would contain a newline at the end.
https://scottlinux.com/2012/09/01/encode-or-decode-base64-from-the-command-line/ as reference
2016-05-20 12:15:37 +02:00
Matt Doran
ff6bb8a671
Inconsistent secret name in db credentials example
...
The creation of the secret uses prod/test-db-password, but the remainder of the example uses prod/test-db-secret.
2016-05-18 16:44:46 +10:00
Joonathan Mägi
5c9d6060f3
Use `echo -n` for less ambiguous base64 secret example
...
One could be bitten by having unexpected newline characters in base64 encoded secrets (reference: https://github.com/kubernetes/kubernetes/issues/23404 ).
Calling `echo -n` will omit the trailing newline character.
`
The echo utility writes any specified operands, separated by single blank (` ') characters and followed by
a newline (`\n') character, to the standard output.
The following option is available:
-n Do not print the trailing newline character. This may also be achieved by appending `\c' to the end
of the string, as is done by iBCS2 compatible systems. Note that this option as well as the effect
of `\c' are implementation-defined in IEEE Std 1003.1-2001 (``POSIX.1'') as amended by Cor. 1-2002.
Applications aiming for maximum portability are strongly encouraged to use printf(1) to suppress the
newline character.
`
2016-05-11 14:33:33 +03:00
Jan Chaloupka
407a05b6d2
Extend secrets docs with key to path mapping and automatic updates of mounted secrets.
...
Secret volume plugin has been refactored. Currently, AtomicWritter is used to project all keys.
Allowing to automatically refresh projected secrets.
2016-05-07 09:59:18 +02:00
Jan Chaloupka
66f23d05d3
Remove "a" article in "Once the a secret is fetched, ..."
2016-05-03 12:02:05 +02:00
johndmulhausen
93c5d65ec7
Merge pull request #357 from brianredbeard/b64-cli-errata
...
docs: Clarify use of the base64 utility
2016-04-13 13:36:25 -07:00
johndmulhausen
56e0556bc4
Merge pull request #319 from rickypai/patch-1
...
Fix secrets examples to be valid json
2016-04-11 14:12:41 -07:00
Brian 'Redbeard' Harrington
e90337bf19
docs: Clarify use of the base64 utility
...
The base64 utility has different options on both Darwin and Linux.
Adding clarification as to how the use of these utilities differ
on platforms.
2016-04-09 13:38:12 -07:00
Spencer Brown
87628894c7
Update secrets/index.md
...
fixing example for Consuming Secret Values from Environment Variables
2016-04-08 14:49:03 -05:00
Ricky Pai
404420b05d
Fix secrets examples to be valid json
...
Working through the secrets example, I found some of the json descriptors to be invalid. This fixes them.
2016-04-04 15:14:42 -07:00
johndmulhausen
0d31281f27
Surfaces previously hidden topics that had URL conflicts, moves pages to index.md as often as possible
2016-03-29 14:58:48 -07:00
John Mulhausen
f16668b45f
1.2 additions for user-guide/
2016-03-07 12:09:02 +00:00
John Mulhausen
a6f6fd01cd
1.2 additions for getting-started-guides/ and new non-Markdown files for user-guides
2016-03-06 17:55:12 +00:00
John Mulhausen
4c9e72c518
Moving docs from /vX to /docs; we will use branches for old versions.
2016-02-29 15:17:22 -08:00