Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master into set/annotations/v0.1 (#265)
* implement starlark function (#177) * implement starlark function * drop path and url support, update doc and add another test * update error message according to the guideline * code review * update example * update the starlark example (#188) * use Entrypoint instead of CMD in Dockerfiles (#189) Also tweak Dockerfile to speed up build speed by avoiding repeatly downloading go modules * apply-setters function (#167) * set-setter function * Address docs and other comments * Suggested changes 2 * Search and replace function (#190) * Example, README and output for search and replace (#194) * Example and output for search replace * Add README for example and punt usage docs * Rename function to search-replace * Add ENTRYPOINT for search-replace and apply-setters (#195) * apply-setters and search-replace README and generated docs (#196) * Search replace README and generated docs * Apply setters README and godocs * Suggested changes: generate docs for all funcitons via looping * Suggested changes: apply-setters docs * Update image name to full image path * Suggested changes: remove sh and func-generate to docs-generate * kpt-fns to kpt-fn * Don't use dev tag in test (#199) * Run helm-inflator as current user (#200) * add a template for usage doc (#198) * add a template for usage doc * move the usage doc template into functions/go dir * put it in comments * code review * update examples section * update Synopsis section * Update README.md Co-authored-by: Frank Farzan <[email protected]> * Migrate policy-controller-validate to use kyaml (#197) * Initial commit * Add short flags and usage to gatekeeper function. Also add a release workflow for pushing to gcr. * Upgrade OPA constraint framework (#132) * Upgrade OPA constraint framework * Change revision -> version in Gopkg.toml Signed-off-by: Max Smythe <[email protected]> * Log violated constraint * Move validate.go to the desired dir after running git filter-branch * Migrate policy-controller-validate to use kyaml * code review * rename fn to gatekeeper-validate * Support different enforcement levels * code review * code review Co-authored-by: Frank Farzan <[email protected]> Co-authored-by: Max Smythe <[email protected]> Co-authored-by: Prachi Pendse <[email protected]> * fix: upgrade @types/jasmine from 3.6.2 to 3.6.6 (#205) Snyk has created this PR to upgrade @types/jasmine from 3.6.2 to 3.6.6. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/5ee802a9-8df2-4243-be28-e1da63426b99?utm_source=github&utm_medium=upgrade-pr * fix: upgrade typescript from 4.1.3 to 4.2.3 (#203) Snyk has created this PR to upgrade typescript from 4.1.3 to 4.2.3. See this package in npm: https://www.npmjs.com/package/typescript See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/5ee802a9-8df2-4243-be28-e1da63426b99?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @types/jasmine from 3.6.2 to 3.6.6 (#207) Snyk has created this PR to upgrade @types/jasmine from 3.6.2 to 3.6.6. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/0c90cff6-4386-4509-bd57-37f0b57f5960?utm_source=github&utm_medium=upgrade-pr * fix: upgrade typescript from 4.1.3 to 4.2.3 (#206) Snyk has created this PR to upgrade typescript from 4.1.3 to 4.2.3. See this package in npm: https://www.npmjs.com/package/typescript See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/0c90cff6-4386-4509-bd57-37f0b57f5960?utm_source=github&utm_medium=upgrade-pr * fix: upgrade typescript from 4.1.3 to 4.2.3 (#208) Snyk has created this PR to upgrade typescript from 4.1.3 to 4.2.3. See this package in npm: https://www.npmjs.com/package/typescript See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/206705c7-640c-491f-9f5b-bcb93537444e?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @types/jasmine from 3.6.2 to 3.6.6 (#209) Snyk has created this PR to upgrade @types/jasmine from 3.6.2 to 3.6.6. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/206705c7-640c-491f-9f5b-bcb93537444e?utm_source=github&utm_medium=upgrade-pr * Add metadata.yaml files and remove dir convention for examples (#202) * Add metadata.yaml files and remove dir convention for examples * update metadata * fix: upgrade typescript from 4.1.3 to 4.2.3 (#210) Snyk has created this PR to upgrade typescript from 4.1.3 to 4.2.3. See this package in npm: https://www.npmjs.com/package/typescript See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/23d8f4ca-6976-433c-98ec-370eccabc2e7?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @types/jasmine from 3.6.2 to 3.6.7 (#211) Snyk has created this PR to upgrade @types/jasmine from 3.6.2 to 3.6.7. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/23d8f4ca-6976-433c-98ec-370eccabc2e7?utm_source=github&utm_medium=upgrade-pr * fix: upgrade jasmine from 3.6.3 to 3.7.0 (#212) Snyk has created this PR to upgrade jasmine from 3.6.3 to 3.7.0. See this package in npm: https://www.npmjs.com/package/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/206705c7-640c-491f-9f5b-bcb93537444e?utm_source=github&utm_medium=upgrade-pr * bump up go-yaml version that includes roundtripping fixes (#213) * fix: upgrade @types/jasmine from 3.6.6 to 3.6.7 (#215) Snyk has created this PR to upgrade @types/jasmine from 3.6.6 to 3.6.7. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/0c90cff6-4386-4509-bd57-37f0b57f5960?utm_source=github&utm_medium=upgrade-pr * fix: upgrade jasmine from 3.6.3 to 3.7.0 (#214) Snyk has created this PR to upgrade jasmine from 3.6.3 to 3.7.0. See this package in npm: https://www.npmjs.com/package/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/23d8f4ca-6976-433c-98ec-370eccabc2e7?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @types/jasmine from 3.6.6 to 3.6.7 (#217) Snyk has created this PR to upgrade @types/jasmine from 3.6.6 to 3.6.7. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/206705c7-640c-491f-9f5b-bcb93537444e?utm_source=github&utm_medium=upgrade-pr * Use README.md as usage doc for all golang functions (#216) * bump go-yaml to the latest (#222) * fix: upgrade jasmine from 3.6.3 to 3.7.0 (#221) Snyk has created this PR to upgrade jasmine from 3.6.3 to 3.7.0. See this package in npm: https://www.npmjs.com/package/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/0c90cff6-4386-4509-bd57-37f0b57f5960?utm_source=github&utm_medium=upgrade-pr * fix links in examples (#227) * Add ensure-name-substring function (#226) * Add function set-name-prefix * update error message * Add ensure-name-segment function * code review * add note that seeks feedback * improve error messages Co-authored-by: Donny Xia <[email protected]> * fix: upgrade @types/node from 14.14.21 to 14.14.36 (#228) Snyk has created this PR to upgrade @types/node from 14.14.21 to 14.14.36. See this package in npm: https://www.npmjs.com/package/@types/node See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/23d8f4ca-6976-433c-98ec-370eccabc2e7?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @types/jasmine from 3.6.7 to 3.6.9 (#230) Snyk has created this PR to upgrade @types/jasmine from 3.6.7 to 3.6.9. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/23d8f4ca-6976-433c-98ec-370eccabc2e7?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @types/jasmine from 3.6.7 to 3.6.9 (#232) Snyk has created this PR to upgrade @types/jasmine from 3.6.7 to 3.6.9. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/0c90cff6-4386-4509-bd57-37f0b57f5960?utm_source=github&utm_medium=upgrade-pr * fix: upgrade jasmine from 3.6.3 to 3.7.0 (#235) Snyk has created this PR to upgrade jasmine from 3.6.3 to 3.7.0. See this package in npm: https://www.npmjs.com/package/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/5ee802a9-8df2-4243-be28-e1da63426b99?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @types/jasmine from 3.6.6 to 3.6.9 (#234) Snyk has created this PR to upgrade @types/jasmine from 3.6.6 to 3.6.9. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/5ee802a9-8df2-4243-be28-e1da63426b99?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @types/jasmine from 3.6.7 to 3.6.9 (#237) Snyk has created this PR to upgrade @types/jasmine from 3.6.7 to 3.6.9. See this package in npm: https://www.npmjs.com/package/@types/jasmine See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/206705c7-640c-491f-9f5b-bcb93537444e?utm_source=github&utm_medium=upgrade-pr * Clean up search-replace and apply-setters docs (#201) * Clean up search-replace and apply-setters docs * Use run instead of eval and migrate later * Add sh * fork openapi2jsonschema in fn kubeval (#240) * fork github.com/instrumenta/openapi2jsonschema@d697cbff8a25f520e125e3a5f79cb4e9b972e8ce * drop forked directory * Add a catalog landing page (#176) * Stage multiple versions of helm-inflator. * Site page with versions dropdown hook. * Copy helm-inflator/local-configs to versions. * Updated directory structure to remove latest. * Use semver to sort version list. * Add catalog generator go command. * Add named examples to directory structure. * Add named examples to web page. * Delete intermediary helm-template dir. * Account for directories without releases. * Add names and descriptions for existing funcs. * Don't use hidden directories as examples. * Move catalog generation script to its own dir. * Get function descriptions from `kpt fn doc` * Remove comment. * Trim new line from desription. * Add catalog json generation. * Get dropdown information from catalog json. * Add site generator to makefile. * Update catalog generator to design doc. * Change the GitHub icon link on func pages. * Link to function dir in GH instead of just repo. * Address PR comments. * Switch yaml fetch to cat-file. * Reinclude reverted deletions. * Make kubeval hermetic (#233) * make kubeval hermetic * use json parser * openapi2jsonschema should handle strict * rebase on new fork openapi2jsonschema * Use [email protected] in metadata.yaml (#245) * remove validators directory in examples (#247) * Update the catalog title Per style guide: `kpt` not `KPT`. * Update README.md * add check to verify docs (#246) * check metadata files * check examples and handle release branches * update how to install mdrip in CI * Do not process hidden function versions. (#252) * Rename functions (#251) gatekeeper-validate -> enforce-gatekeeper set-annotation -> set-annotations set-label -> set-labels helm-inflator -> inflate-helm-chart istioctl-analyze -> analyze-istio * use GITHUB_BASE_REF env var (#254) * Specify how function config should be documented * Update README.md * fix: upgrade typescript from 4.2.3 to 4.2.4 (#259) Snyk has created this PR to upgrade typescript from 4.2.3 to 4.2.4. See this package in npm: https://www.npmjs.com/package/typescript See this project in Snyk: https://app.snyk.io/org/kpt-fn-bot/project/206705c7-640c-491f-9f5b-bcb93537444e?utm_source=github&utm_medium=upgrade-pr * add usage doc for kubeval (#257) * add usage doc for kubeval * update usage doc * update usage doc * update usage doc * update usage doc * Fix search-replace image typo (#262) * update metadata and README file for set-annotations Co-authored-by: phani <[email protected]> Co-authored-by: John Belamaric <[email protected]> Co-authored-by: Frank Farzan <[email protected]> Co-authored-by: Frank Farzan <[email protected]> Co-authored-by: Max Smythe <[email protected]> Co-authored-by: Prachi Pendse <[email protected]> Co-authored-by: Snyk bot <[email protected]> Co-authored-by: Sunil Arora <[email protected]> Co-authored-by: Donny Xia <[email protected]> Co-authored-by: etefera <[email protected]>
- Loading branch information