Kundan Kumar
c4137c0c2a
Path for glossary corrected
2023-10-12 10:29:05 +05:30
Kubernetes Prow Robot
779f153071
Merge pull request #5353 from charles-chenzz/git_submodule
...
git submodule need origin
2023-10-07 03:27:32 +02:00
charles-chenzz
60d7ee6710
add orgin back when clone repo (due to git submodule).
2023-10-07 07:50:13 +08:00
Kubernetes Prow Robot
852739c477
Merge pull request #5265 from rodrigc/update-remote-example
...
doc: update example to use tag v3.3.1
2023-10-06 21:21:37 +02:00
Craig Rodrigues
bee2e5f50c
doc: update example to use tag v3.3.1
...
Signed-off-by: Craig Rodrigues <rodrigc@crodrigues.org >
2023-10-06 11:38:17 -07:00
Natasha Sarkar
ace2d53b18
Merge pull request #5333 from hailkomputer/add-skip-validation-flag-to-edit-add-resource
...
Add --no-verify flag to edit add resource command
2023-10-06 13:00:27 -05:00
Kubernetes Prow Robot
aeb7cb2a40
Merge pull request #5342 from superbrothers/fix-issue4905
...
Update imdario/mergo to v0.3.13
2023-10-04 22:06:34 +02:00
Yigit Demirbas
713842330e
rename flag to --no-verify
2023-10-03 09:02:34 +02:00
Yigit Demirbas
5936a892a7
fix imports after rebase
2023-10-02 09:06:07 +02:00
Yigit Demirbas
c3a4f3eab6
Merge branch 'master' into add-skip-validation-flag-to-edit-add-resource
2023-10-02 09:03:14 +02:00
Mauren Berti
fb7ee2f487
refactor: change "add configmap/secret" commands to reuse code and improve tests ( #5315 )
...
* feat: minor refactoring + test improvements
* Refactor some bits of the edit add secret/configmap commands to reuse code.
* Improve test coverage for both these commands by invoking the cobra command
directly.
* Add some reusable constants for both these commands and their tests.
* fix: changes from code review
* Update formatting as requested in code review.
* Rename flagsAndArgs to configmapSecretFlagsAndArgs: change the file and struct
names to reflect the real usage of this code.
* Remove excessive newlines from the imports block.
* Replace all usages of assert with require and fix newlines in imports.
2023-10-01 19:32:45 -07:00
Kubernetes Prow Robot
45e57f0228
Merge pull request #5350 from kubernetes-sigs/revert-5332-master
...
Revert "Disable CI Code Checks if all PR changes fall under `site/`"
2023-09-29 15:01:56 -07:00
Kubernetes Prow Robot
9920586b22
Merge pull request #5345 from stormqueen1990/docs/update-remove-configmap-comment
...
docs: update remove configmap comment
2023-09-29 11:12:42 -07:00
Kubernetes Prow Robot
61dad14345
Merge pull request #5344 from stormqueen1990/feat/add-remove-secret-command
...
feat: add remove secret command
2023-09-29 11:02:43 -07:00
Kubernetes Prow Robot
f65506d285
Merge pull request #5268 from kubernetes-sigs/dependabot/github_actions/nashmaniac/create-issue-action-1.2
...
Bump nashmaniac/create-issue-action from 1.1 to 1.2
2023-09-29 10:52:43 -07:00
Natasha Sarkar
cbbd1599f2
Revert "Disable CI Code Checks if all PR changes fall under site/"
2023-09-29 09:50:39 -05:00
Kubernetes Prow Robot
4b34ff3075
Merge pull request #5132 from samstride/issue/5127
...
Update README.md
2023-09-28 12:10:34 -07:00
Kubernetes Prow Robot
654d7953d9
Merge pull request #5193 from varshaprasad96/refactor/api
...
[refactor]: Internalize loader api
2023-09-28 08:36:32 -07:00
Varsha Prasad Narsing
7911b2c001
[refactor]: Internalize loader api
...
This PR intends to move the loader api to
internal. Only the necessary methods which
are needed for the api have been put into
`pkg/loader.go`.
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
2023-09-28 10:49:45 -04:00
Yigit Demirbas
0d854a5144
modify error message to original
2023-09-27 12:52:09 +02:00
Yigit Demirbas
cb5b241715
modify add resource test to accomodate changes
2023-09-27 12:49:19 +02:00
Yigit Demirbas
039b05fb16
refactor tests to use require instead
2023-09-27 12:40:05 +02:00
Mauren Berti
9c1d412dac
docs: update remove configmap comment
...
Update the comment for the newCmdRemoveConfigMap function to explain what this
function really does. The previous comment was referring to a different function.
2023-09-24 19:26:48 -04:00
Mauren Berti
a318d4db26
feat: incorporate feedback from review
...
* Incorporate feedback from reviews.
* Add extra test cases to increase coverage.
* Tiny refactors for code parity with remove configmap.
* Update copyright notice.
2023-09-24 19:16:37 -04:00
yufei.li
0cfafddacc
feat: add remove secret command
...
(cherry picked from commit 63d44f5e88 )
chore: fix for lint
(cherry picked from commit 21edcd0582 )
fix: correct lint issues
(cherry picked from commit 0c87856b2c )
fix: Resolve conversations
(cherry picked from commit 9ee5ab3a70 )
2023-09-24 18:07:55 -04:00
Kazuki Suda
f5ca753377
Update imdario/mergo to v0.3.13
...
Co-authored-by: Krzysztof Gibuła <krzysztof.gibula@gmail.com >
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com >
2023-09-24 16:34:45 +09:00
Kazuki Suda
0d4849ff98
Add a test case for issue 4905
...
```
===== ACTUAL BEGIN ========================================
apiVersion: v1
data:
config.yaml: "null"
kind: ConfigMap
metadata:
name: issue4905
===== ACTUAL END ==========================================
EXPECTED ACTUAL
-------- ------
apiVersion: v1 apiVersion: v1
data: data:
X config.yaml: |- config.yaml: "null"
X item1: 1 kind: ConfigMap
X item2: 2 metadata:
X kind: ConfigMap name: issue4905
X metadata:
X name: issue4905
hasgett.go:22: Expected not equal to actual
--- FAIL: TestHelmChartInflationGeneratorIssue4905 (0.24s)
```
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com >
2023-09-24 16:33:43 +09:00
Nick
e3b9afcfaa
Add CLI page to Reference Section ( #5304 )
...
* Add CLI page
Start operations section
Refine operations section
Add common operations
Address comments
* Move the cli content to the CLI section
Update the CLI description
2023-09-22 23:30:56 -07:00
Kubernetes Prow Robot
af781bfa5e
Merge pull request #5313 from bugoverdose/docs/api
...
Add API section to Reference Section
2023-09-22 22:56:55 -07:00
Kubernetes Prow Robot
7dd9637b1a
Merge pull request #5340 from koba1t/add_koba1t_to_approvers
...
add koba1t to approvers
2023-09-22 13:48:49 -07:00
koba1t
ddce57b585
add koba1t to approvers
2023-09-23 03:37:24 +09:00
Natasha Sarkar
11fc419cee
be more specific about reqs in contributing guide ( #5330 )
...
* be more specific about reqs in contributing guide
* fix wording
2023-09-22 11:14:48 -07:00
Kubernetes Prow Robot
a8dec66a84
Merge pull request #4486 from koba1t/feature/add_edit_set_labels_subcommand_add_option_for_labels_on_without_selector
...
add: "edit add labels" command adds an option for labels without selector
2023-09-22 09:36:50 -07:00
Kubernetes Prow Robot
7e541ca380
Merge pull request #5332 from roopeshvs/master
...
Disable CI Code Checks if all PR changes fall under `site/`
2023-09-20 14:46:02 -07:00
Kubernetes Prow Robot
1bd58bdc15
Merge pull request #5327 from stormqueen1990/feat/add-remove-configmap-command
...
feat: add remove configmap command
2023-09-20 14:32:01 -07:00
Mauren Berti
9107fa3c81
fix: changes from code review
...
* Replace last assert directive with require in the test.
* Change copyright notice.
2023-09-19 22:29:33 -04:00
Yigit Demirbas
df0cd3c4a3
modified to fix linter issues
2023-09-18 20:54:56 +02:00
Yigit Demirbas
f3b34c44b5
Add skip-validation flag to edit add resource cmd
2023-09-18 20:22:59 +02:00
Roopesh V S
433be59ea7
ignore pr code checks for docs only changes
2023-09-18 19:49:11 +05:30
Jeong Jinwoo
2c444d6bf4
docs(api/kustomizaion-file): migrate field sections
2023-09-17 16:05:32 +09:00
yugo kobayashi
59696d1ace
fix a patch files accept multiple patches ( #5194 )
...
* fix a patch files accept multiple patches
* fix comments and variable name
* add error handling when using not allowed multiple strategic-merge patches
* fix error message of Multiple Strategic-Merge Patch file
* refactor transformStrategicMerge()
* add TODO comment and test for Multiple JSON patch Yaml documents are not allowed
* refactoring PatchTransformer
* add multiple patch test for PatchTransformer package
* improve error message to PatchTransformer
* refactor const and error message check
* fix some error messages
2023-09-15 16:20:13 -07:00
Jeong Jinwoo
d30e457031
docs(api/patches): fix broken links
2023-09-14 21:01:25 +09:00
Jeong Jinwoo
ae041b5c54
docs(api/generatorOptions): fill up empty links
2023-09-14 20:54:06 +09:00
Jeong Jinwoo
a2b60e4bcb
docs(api): fix broken links
2023-09-14 20:52:11 +09:00
Jeong Jinwoo
9d126f6dd8
docs(api/components): add Components guide from cli-experimental
...
- add reference to Concept page
2023-09-14 12:55:50 +09:00
Jeong Jinwoo
bd8045b648
docs(api/replacements): fix heavy check mark issue
2023-09-14 12:40:57 +09:00
Jeong Jinwoo
5c1a022a3c
docs(api): fix broken hyperlinks
2023-09-14 12:40:57 +09:00
Jeong Jinwoo
e19ca5405a
docs: setup API section with cli-experimental site
2023-09-14 12:40:54 +09:00
Kubernetes Prow Robot
56d37acc7d
Merge pull request #5261 from varshaprasad96/refactor/image
...
[Refactor] Move image to internal
2023-09-13 10:22:12 -07:00
Mauren Berti
0571a2f15d
Incorporate feedback from original PR
...
* Incorporate feedback left on original PR.
* Add more test cases.
* Minor refactoring and update to copyright notice.
2023-09-12 20:18:45 -04:00