├── .envrc ├── .github └── workflows │ └── gh-pages.yml ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .prettierrc.json ├── README.md ├── example ├── out │ └── my-app │ │ ├── 00-one.yaml │ │ └── 02-two.yaml └── src │ └── my-app.ts ├── flake.lock ├── flake.nix ├── lerna.json ├── package.json ├── packages ├── cli │ ├── .editorconfig │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── bin │ │ ├── run │ │ └── run.cmd │ ├── package.json │ ├── src │ │ └── index.ts │ └── tsconfig.json ├── core │ ├── .gitignore │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── generate.ts │ │ ├── index.ts │ │ └── internal │ │ │ ├── config.ts │ │ │ ├── fileTrees.ts │ │ │ └── fs.ts │ ├── test │ │ ├── benchmark │ │ │ ├── .gitignore │ │ │ ├── run.ts │ │ │ └── src │ │ │ │ └── index.ts │ │ ├── examples │ │ │ ├── 00-basic │ │ │ │ ├── in │ │ │ │ │ ├── index.ts │ │ │ │ │ └── my-app.ts │ │ │ │ └── out │ │ │ │ │ ├── my-app │ │ │ │ │ ├── 00-namespace.yaml │ │ │ │ │ ├── 10-env.yaml │ │ │ │ │ └── 20-ini-test.ini │ │ │ │ │ └── something │ │ │ │ │ └── nested │ │ │ │ │ └── deep │ │ │ │ │ └── 00-namespace.yaml │ │ │ ├── 01-index-files │ │ │ │ ├── in │ │ │ │ │ └── parent │ │ │ │ │ │ ├── child.ts │ │ │ │ │ │ └── index.ts │ │ │ │ └── out │ │ │ │ │ └── parent │ │ │ │ │ ├── child │ │ │ │ │ └── config.yaml │ │ │ │ │ └── parent-config.yaml │ │ │ ├── 02-static-files │ │ │ │ ├── in │ │ │ │ │ ├── my-app.ts │ │ │ │ │ └── yaml │ │ │ │ │ │ └── test.yaml │ │ │ │ └── out │ │ │ │ │ ├── my-app │ │ │ │ │ ├── 00-namespace.yaml │ │ │ │ │ └── 10-env.yaml │ │ │ │ │ └── yaml │ │ │ │ │ └── test.yaml │ │ │ ├── 03-format-override │ │ │ │ ├── in │ │ │ │ │ └── my-app.ts │ │ │ │ └── out │ │ │ │ │ └── my-app │ │ │ │ │ ├── 00-namespace.yaml │ │ │ │ │ ├── 10-env.json │ │ │ │ │ └── 20-env.foo.yaml │ │ │ ├── 04-promises │ │ │ │ ├── in │ │ │ │ │ └── my-app.ts │ │ │ │ └── out │ │ │ │ │ └── my-app │ │ │ │ │ ├── 00-namespace.yaml │ │ │ │ │ └── 10-env.yaml │ │ │ ├── 05-concurrency │ │ │ │ ├── in │ │ │ │ │ ├── another-app.ts │ │ │ │ │ ├── my-app.ts │ │ │ │ │ └── third-app.ts │ │ │ │ └── out │ │ │ │ │ ├── another-app │ │ │ │ │ ├── 00-namespace.yaml │ │ │ │ │ ├── 10-env.yaml │ │ │ │ │ ├── 20-env.yaml │ │ │ │ │ ├── 30-env.yaml │ │ │ │ │ ├── 40-env.yaml │ │ │ │ │ ├── 50-env.yaml │ │ │ │ │ ├── 60-env.yaml │ │ │ │ │ ├── 70-env.yaml │ │ │ │ │ ├── 80-env.yaml │ │ │ │ │ ├── 90-env.yaml │ │ │ │ │ ├── 91-env.yaml │ │ │ │ │ ├── 92-env.yaml │ │ │ │ │ ├── 93-env.yaml │ │ │ │ │ ├── 94-env.yaml │ │ │ │ │ ├── 95-env.yaml │ │ │ │ │ ├── 96-env.yaml │ │ │ │ │ ├── 97-env.yaml │ │ │ │ │ └── 98-env.yaml │ │ │ │ │ ├── my-app │ │ │ │ │ ├── 00-namespace.yaml │ │ │ │ │ ├── 10-env.yaml │ │ │ │ │ ├── 20-env.yaml │ │ │ │ │ ├── 30-env.yaml │ │ │ │ │ ├── 40-env.yaml │ │ │ │ │ ├── 50-env.yaml │ │ │ │ │ ├── 60-env.yaml │ │ │ │ │ ├── 70-env.yaml │ │ │ │ │ ├── 80-env.yaml │ │ │ │ │ ├── 90-env.yaml │ │ │ │ │ ├── 91-env.yaml │ │ │ │ │ ├── 92-env.yaml │ │ │ │ │ ├── 93-env.yaml │ │ │ │ │ ├── 94-env.yaml │ │ │ │ │ ├── 95-env.yaml │ │ │ │ │ ├── 96-env.yaml │ │ │ │ │ ├── 97-env.yaml │ │ │ │ │ └── 98-env.yaml │ │ │ │ │ └── third-app │ │ │ │ │ ├── 00-namespace.yaml │ │ │ │ │ ├── 10-env.yaml │ │ │ │ │ ├── 20-env.yaml │ │ │ │ │ ├── 30-env.yaml │ │ │ │ │ ├── 40-env.yaml │ │ │ │ │ ├── 50-env.yaml │ │ │ │ │ ├── 60-env.yaml │ │ │ │ │ ├── 70-env.yaml │ │ │ │ │ ├── 80-env.yaml │ │ │ │ │ ├── 90-env.yaml │ │ │ │ │ ├── 91-env.yaml │ │ │ │ │ ├── 92-env.yaml │ │ │ │ │ ├── 93-env.yaml │ │ │ │ │ ├── 94-env.yaml │ │ │ │ │ ├── 95-env.yaml │ │ │ │ │ ├── 96-env.yaml │ │ │ │ │ ├── 97-env.yaml │ │ │ │ │ └── 98-env.yaml │ │ │ ├── _context-test │ │ │ │ ├── in │ │ │ │ │ └── my-app-context.ts │ │ │ │ └── out │ │ │ │ │ └── my-app-context │ │ │ │ │ └── 00-config.yaml │ │ │ ├── _ignore-test │ │ │ │ ├── in │ │ │ │ │ ├── my-app.js │ │ │ │ │ └── my-app.ts │ │ │ │ └── out │ │ │ │ │ └── my-app │ │ │ │ │ ├── 00-namespace.yaml │ │ │ │ │ └── 10-env.yaml │ │ │ ├── _json-test │ │ │ │ ├── in │ │ │ │ │ └── my-app.ts │ │ │ │ └── out │ │ │ │ │ └── my-app │ │ │ │ │ ├── 00-namespace.json │ │ │ │ │ └── 10-env.json │ │ │ └── _remove-test │ │ │ │ ├── in │ │ │ │ └── parent │ │ │ │ │ └── index.ts │ │ │ │ └── out │ │ │ │ └── parent │ │ │ │ └── parent-config.yaml │ │ └── generate.test.ts │ └── tsconfig.json └── k8s │ ├── .gitignore │ ├── .npmignore │ ├── .prettierrc │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ ├── bundles.ts │ ├── common.ts │ ├── configmaps.ts │ ├── containers.ts │ ├── cronjobs.ts │ ├── daemonsets.ts │ ├── deployments.ts │ ├── hpa.ts │ ├── index.ts │ ├── ingress.ts │ ├── internal │ │ └── fs.ts │ ├── jobs.ts │ ├── namespaces.ts │ ├── podTemplates.ts │ ├── pvc.ts │ ├── rbac.ts │ ├── resources.ts │ ├── secrets.ts │ ├── services.ts │ ├── statefulSets.ts │ ├── units.ts │ ├── volumes.ts │ └── vpa.ts │ ├── test │ ├── configmaps.test.ts │ ├── containers.test.ts │ ├── cronjobs.ts │ ├── daemonsets.test.ts │ ├── deployments.test.ts │ ├── fixtures │ │ └── file.txt │ ├── helpers.ts │ ├── hpa.test.ts │ ├── ingress.test.ts │ ├── jobs.test.ts │ ├── namespaces.test.ts │ ├── podTemplates.test.ts │ ├── pvc.test.ts │ ├── rbac.test.ts │ ├── resources.test.ts │ ├── secrets.test.ts │ ├── services.test.ts │ ├── statefulSets.test.ts │ ├── volumes.test.ts │ └── vpa.test.ts │ └── tsconfig.json └── yarn.lock /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.github/workflows/gh-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/.github/workflows/gh-pages.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "all" 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | packages/cli/README.md -------------------------------------------------------------------------------- /example/out/my-app/00-one.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /example/out/my-app/02-two.yaml: -------------------------------------------------------------------------------- 1 | foo: false 2 | -------------------------------------------------------------------------------- /example/src/my-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/example/src/my-app.ts -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/flake.nix -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/lerna.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/package.json -------------------------------------------------------------------------------- /packages/cli/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/cli/.editorconfig -------------------------------------------------------------------------------- /packages/cli/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/cli/.gitignore -------------------------------------------------------------------------------- /packages/cli/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/cli/CHANGELOG.md -------------------------------------------------------------------------------- /packages/cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/cli/README.md -------------------------------------------------------------------------------- /packages/cli/bin/run: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/cli/bin/run -------------------------------------------------------------------------------- /packages/cli/bin/run.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | node "%~dp0\run" %* 4 | -------------------------------------------------------------------------------- /packages/cli/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/cli/package.json -------------------------------------------------------------------------------- /packages/cli/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/cli/src/index.ts -------------------------------------------------------------------------------- /packages/cli/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/cli/tsconfig.json -------------------------------------------------------------------------------- /packages/core/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | test/examples/**/gen 3 | -------------------------------------------------------------------------------- /packages/core/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | test/ 3 | .history/ 4 | -------------------------------------------------------------------------------- /packages/core/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/CHANGELOG.md -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/README.md -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/package.json -------------------------------------------------------------------------------- /packages/core/src/generate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/src/generate.ts -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/src/index.ts -------------------------------------------------------------------------------- /packages/core/src/internal/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/src/internal/config.ts -------------------------------------------------------------------------------- /packages/core/src/internal/fileTrees.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/src/internal/fileTrees.ts -------------------------------------------------------------------------------- /packages/core/src/internal/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/src/internal/fs.ts -------------------------------------------------------------------------------- /packages/core/test/benchmark/.gitignore: -------------------------------------------------------------------------------- 1 | compiled/ 2 | -------------------------------------------------------------------------------- /packages/core/test/benchmark/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/benchmark/run.ts -------------------------------------------------------------------------------- /packages/core/test/benchmark/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/benchmark/src/index.ts -------------------------------------------------------------------------------- /packages/core/test/examples/00-basic/in/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/00-basic/in/index.ts -------------------------------------------------------------------------------- /packages/core/test/examples/00-basic/in/my-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/00-basic/in/my-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/00-basic/out/my-app/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/00-basic/out/my-app/10-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/00-basic/out/my-app/20-ini-test.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/00-basic/out/my-app/20-ini-test.ini -------------------------------------------------------------------------------- /packages/core/test/examples/00-basic/out/something/nested/deep/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | name: deep 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/01-index-files/in/parent/child.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/01-index-files/in/parent/child.ts -------------------------------------------------------------------------------- /packages/core/test/examples/01-index-files/in/parent/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/01-index-files/in/parent/index.ts -------------------------------------------------------------------------------- /packages/core/test/examples/01-index-files/out/parent/child/config.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/01-index-files/out/parent/parent-config.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/02-static-files/in/my-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/02-static-files/in/my-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/02-static-files/in/yaml/test.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: myns 5 | -------------------------------------------------------------------------------- /packages/core/test/examples/02-static-files/out/my-app/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/02-static-files/out/my-app/10-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/02-static-files/out/yaml/test.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: myns 5 | -------------------------------------------------------------------------------- /packages/core/test/examples/03-format-override/in/my-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/03-format-override/in/my-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/03-format-override/out/my-app/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/03-format-override/out/my-app/10-env.json: -------------------------------------------------------------------------------- 1 | { 2 | "promise": true 3 | } -------------------------------------------------------------------------------- /packages/core/test/examples/03-format-override/out/my-app/20-env.foo.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/04-promises/in/my-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/04-promises/in/my-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/04-promises/out/my-app/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/04-promises/out/my-app/10-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/in/another-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/05-concurrency/in/another-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/in/my-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/05-concurrency/in/my-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/in/third-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/05-concurrency/in/third-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/10-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/20-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/30-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/40-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/50-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/60-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/70-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/80-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/90-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/91-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/92-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/93-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/94-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/95-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/96-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/97-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/another-app/98-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/10-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/20-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/30-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/40-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/50-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/60-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/70-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/80-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/90-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/91-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/92-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/93-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/94-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/95-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/96-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/97-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/my-app/98-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/10-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/20-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/30-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/40-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/50-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/60-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/70-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/80-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/90-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/91-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/92-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/93-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/94-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/95-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/96-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/97-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/05-concurrency/out/third-app/98-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/_context-test/in/my-app-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/_context-test/in/my-app-context.ts -------------------------------------------------------------------------------- /packages/core/test/examples/_context-test/out/my-app-context/00-config.yaml: -------------------------------------------------------------------------------- 1 | specialValue: secret 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/_ignore-test/in/my-app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/_ignore-test/in/my-app.js -------------------------------------------------------------------------------- /packages/core/test/examples/_ignore-test/in/my-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/_ignore-test/in/my-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/_ignore-test/out/my-app/00-namespace.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/_ignore-test/out/my-app/10-env.yaml: -------------------------------------------------------------------------------- 1 | promise: true 2 | -------------------------------------------------------------------------------- /packages/core/test/examples/_json-test/in/my-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/_json-test/in/my-app.ts -------------------------------------------------------------------------------- /packages/core/test/examples/_json-test/out/my-app/00-namespace.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "value" 3 | } -------------------------------------------------------------------------------- /packages/core/test/examples/_json-test/out/my-app/10-env.json: -------------------------------------------------------------------------------- 1 | { 2 | "promise": true 3 | } -------------------------------------------------------------------------------- /packages/core/test/examples/_remove-test/in/parent/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/examples/_remove-test/in/parent/index.ts -------------------------------------------------------------------------------- /packages/core/test/examples/_remove-test/out/parent/parent-config.yaml: -------------------------------------------------------------------------------- 1 | key: value 2 | -------------------------------------------------------------------------------- /packages/core/test/generate.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/test/generate.test.ts -------------------------------------------------------------------------------- /packages/core/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/core/tsconfig.json -------------------------------------------------------------------------------- /packages/k8s/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | docs/ 4 | -------------------------------------------------------------------------------- /packages/k8s/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | docs/ 3 | .history/ 4 | node_modules/ 5 | -------------------------------------------------------------------------------- /packages/k8s/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "all" 3 | } 4 | -------------------------------------------------------------------------------- /packages/k8s/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/CHANGELOG.md -------------------------------------------------------------------------------- /packages/k8s/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/README.md -------------------------------------------------------------------------------- /packages/k8s/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/package.json -------------------------------------------------------------------------------- /packages/k8s/src/bundles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/bundles.ts -------------------------------------------------------------------------------- /packages/k8s/src/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/common.ts -------------------------------------------------------------------------------- /packages/k8s/src/configmaps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/configmaps.ts -------------------------------------------------------------------------------- /packages/k8s/src/containers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/containers.ts -------------------------------------------------------------------------------- /packages/k8s/src/cronjobs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/cronjobs.ts -------------------------------------------------------------------------------- /packages/k8s/src/daemonsets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/daemonsets.ts -------------------------------------------------------------------------------- /packages/k8s/src/deployments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/deployments.ts -------------------------------------------------------------------------------- /packages/k8s/src/hpa.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/hpa.ts -------------------------------------------------------------------------------- /packages/k8s/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/index.ts -------------------------------------------------------------------------------- /packages/k8s/src/ingress.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/ingress.ts -------------------------------------------------------------------------------- /packages/k8s/src/internal/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/internal/fs.ts -------------------------------------------------------------------------------- /packages/k8s/src/jobs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/jobs.ts -------------------------------------------------------------------------------- /packages/k8s/src/namespaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/namespaces.ts -------------------------------------------------------------------------------- /packages/k8s/src/podTemplates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/podTemplates.ts -------------------------------------------------------------------------------- /packages/k8s/src/pvc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/pvc.ts -------------------------------------------------------------------------------- /packages/k8s/src/rbac.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/rbac.ts -------------------------------------------------------------------------------- /packages/k8s/src/resources.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/resources.ts -------------------------------------------------------------------------------- /packages/k8s/src/secrets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/secrets.ts -------------------------------------------------------------------------------- /packages/k8s/src/services.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/services.ts -------------------------------------------------------------------------------- /packages/k8s/src/statefulSets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/statefulSets.ts -------------------------------------------------------------------------------- /packages/k8s/src/units.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/units.ts -------------------------------------------------------------------------------- /packages/k8s/src/volumes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/volumes.ts -------------------------------------------------------------------------------- /packages/k8s/src/vpa.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/src/vpa.ts -------------------------------------------------------------------------------- /packages/k8s/test/configmaps.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/configmaps.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/containers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/containers.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/cronjobs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/cronjobs.ts -------------------------------------------------------------------------------- /packages/k8s/test/daemonsets.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/daemonsets.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/deployments.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/deployments.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/fixtures/file.txt: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /packages/k8s/test/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/helpers.ts -------------------------------------------------------------------------------- /packages/k8s/test/hpa.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/hpa.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/ingress.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/ingress.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/jobs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/jobs.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/namespaces.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/namespaces.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/podTemplates.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/podTemplates.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/pvc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/pvc.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/rbac.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/rbac.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/resources.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/resources.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/secrets.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/secrets.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/services.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/services.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/statefulSets.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/statefulSets.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/volumes.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/volumes.test.ts -------------------------------------------------------------------------------- /packages/k8s/test/vpa.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/test/vpa.test.ts -------------------------------------------------------------------------------- /packages/k8s/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/packages/k8s/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tim-smart/fpk/HEAD/yarn.lock --------------------------------------------------------------------------------