From f7745093375caa2fdc14c7a0bc83ced30f6ca3aa Mon Sep 17 00:00:00 2001 From: jiwlee Date: Wed, 23 Jul 2025 21:08:58 +0900 Subject: [PATCH 01/11] =?UTF-8?q?feat:=20=EA=B8=B0=EB=B3=B8=20API=20?= =?UTF-8?q?=EC=97=94=EB=93=9C=ED=8F=AC=EC=9D=B8=ED=8A=B8=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84=20(/healthcheck,=20/api/v1/jiwlee97)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/app/.gitignore | 2 + 2025/helm/jiwlee97/app/main.ts | 16 + 2025/helm/jiwlee97/app/package-lock.json | 957 +++++++++++++++++++++++ 2025/helm/jiwlee97/app/package.json | 20 + 2025/helm/jiwlee97/app/tsconfig.json | 11 + 5 files changed, 1006 insertions(+) create mode 100644 2025/helm/jiwlee97/app/.gitignore create mode 100644 2025/helm/jiwlee97/app/main.ts create mode 100644 2025/helm/jiwlee97/app/package-lock.json create mode 100644 2025/helm/jiwlee97/app/package.json create mode 100644 2025/helm/jiwlee97/app/tsconfig.json diff --git a/2025/helm/jiwlee97/app/.gitignore b/2025/helm/jiwlee97/app/.gitignore new file mode 100644 index 0000000..04c01ba --- /dev/null +++ b/2025/helm/jiwlee97/app/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +dist/ \ No newline at end of file diff --git a/2025/helm/jiwlee97/app/main.ts b/2025/helm/jiwlee97/app/main.ts new file mode 100644 index 0000000..f0e909c --- /dev/null +++ b/2025/helm/jiwlee97/app/main.ts @@ -0,0 +1,16 @@ +import express from 'express'; + +const app = express(); +const port = process.env.PORT || 8080; + +app.get('/api/v1/jiwlee97', (req, res) => { + res.send('Hello from jiwlee97!'); +}); + +app.get('/healthcheck', (req, res) => { + res.send('OK'); +}); + +app.listen(port, () => { + console.log(`Server running on port ${port}`); +}); diff --git a/2025/helm/jiwlee97/app/package-lock.json b/2025/helm/jiwlee97/app/package-lock.json new file mode 100644 index 0000000..18bf643 --- /dev/null +++ b/2025/helm/jiwlee97/app/package-lock.json @@ -0,0 +1,957 @@ +{ + "name": "app", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "app", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "express": "^5.1.0" + }, + "devDependencies": { + "@types/express": "^5.0.3", + "typescript": "^5.8.3" + } + }, + "node_modules/@types/body-parser": { + "version": "1.19.6", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz", + "integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/express": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.3.tgz", + "integrity": "sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^5.0.0", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.7.tgz", + "integrity": "sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz", + "integrity": "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/mime": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "24.1.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.1.0.tgz", + "integrity": "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~7.8.0" + } + }, + "node_modules/@types/qs": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/send": { + "version": "0.17.5", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.5.tgz", + "integrity": "sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.8", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.8.tgz", + "integrity": "sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-errors": "*", + "@types/node": "*", + "@types/send": "*" + } + }, + "node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "license": "MIT", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/body-parser": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz", + "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==", + "license": "MIT", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^1.0.5", + "debug": "^4.4.0", + "http-errors": "^2.0.0", + "iconv-lite": "^0.6.3", + "on-finished": "^2.4.1", + "qs": "^6.14.0", + "raw-body": "^3.0.0", + "type-is": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/content-disposition": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz", + "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } + }, + "node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz", + "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==", + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.0", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/finalhandler": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz", + "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/http-errors/node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "license": "MIT" + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", + "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz", + "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", + "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/qs": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.0.tgz", + "integrity": "sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.6.3", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/send": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz", + "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==", + "license": "MIT", + "dependencies": { + "debug": "^4.3.5", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "mime-types": "^3.0.1", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/serve-static": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz", + "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==", + "license": "MIT", + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/type-is": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz", + "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==", + "license": "MIT", + "dependencies": { + "content-type": "^1.0.5", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typescript": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz", + "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==", + "dev": true, + "license": "MIT" + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + } + } +} diff --git a/2025/helm/jiwlee97/app/package.json b/2025/helm/jiwlee97/app/package.json new file mode 100644 index 0000000..f688c36 --- /dev/null +++ b/2025/helm/jiwlee97/app/package.json @@ -0,0 +1,20 @@ +{ + "name": "app", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "type": "commonjs", + "dependencies": { + "express": "^5.1.0" + }, + "devDependencies": { + "@types/express": "^5.0.3", + "typescript": "^5.8.3" + } +} diff --git a/2025/helm/jiwlee97/app/tsconfig.json b/2025/helm/jiwlee97/app/tsconfig.json new file mode 100644 index 0000000..65e0aad --- /dev/null +++ b/2025/helm/jiwlee97/app/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "CommonJS", + "outDir": "dist", + "rootDir": ".", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true + } +} From d781c2b1f1da3c954d14379293312fff072892a6 Mon Sep 17 00:00:00 2001 From: jiwlee Date: Wed, 23 Jul 2025 21:09:10 +0900 Subject: [PATCH 02/11] =?UTF-8?q?feat(docker):=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20=EB=B9=8C=EB=93=9C=EB=A5=BC=20=EC=9C=84=ED=95=9C=20?= =?UTF-8?q?Dockerfile=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 2025/helm/jiwlee97/Dockerfile diff --git a/2025/helm/jiwlee97/Dockerfile b/2025/helm/jiwlee97/Dockerfile new file mode 100644 index 0000000..414f31e --- /dev/null +++ b/2025/helm/jiwlee97/Dockerfile @@ -0,0 +1,12 @@ +FROM node:18 + +WORKDIR /app +COPY ./app/ . + +RUN npm install +RUN npx tsc + +ENV PORT=8080 +EXPOSE 8080 + +CMD ["node", "dist/main.js"] \ No newline at end of file From d50befaf716ae6f356994e8c16b6aab2804b25a6 Mon Sep 17 00:00:00 2001 From: jiwlee Date: Wed, 23 Jul 2025 21:11:25 +0900 Subject: [PATCH 03/11] =?UTF-8?q?feat(helm):=20helm=20chart=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=20=EA=B5=AC=EC=A1=B0=20=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/charts/Chart.yaml | 4 ++++ .../jiwlee97/charts/templates/deployment.yaml | 22 +++++++++++++++++++ .../jiwlee97/charts/templates/service.yaml | 12 ++++++++++ 2025/helm/jiwlee97/charts/values.yaml | 2 ++ 4 files changed, 40 insertions(+) create mode 100644 2025/helm/jiwlee97/charts/Chart.yaml create mode 100644 2025/helm/jiwlee97/charts/templates/deployment.yaml create mode 100644 2025/helm/jiwlee97/charts/templates/service.yaml create mode 100644 2025/helm/jiwlee97/charts/values.yaml diff --git a/2025/helm/jiwlee97/charts/Chart.yaml b/2025/helm/jiwlee97/charts/Chart.yaml new file mode 100644 index 0000000..89b0867 --- /dev/null +++ b/2025/helm/jiwlee97/charts/Chart.yaml @@ -0,0 +1,4 @@ +apiVersion: v2 +name: my-first-helm-chart +version: 0.1.0 +description: A Helm chart for my first helm chart diff --git a/2025/helm/jiwlee97/charts/templates/deployment.yaml b/2025/helm/jiwlee97/charts/templates/deployment.yaml new file mode 100644 index 0000000..15d3b3c --- /dev/null +++ b/2025/helm/jiwlee97/charts/templates/deployment.yaml @@ -0,0 +1,22 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: my-app # deployment name +spec: + replicas: 1 + selector: + matchLabels: + app: my-app # which pod to manage + template: + metadata: + labels: + app: my-app # pod's label that deployment creates + spec: + containers: + - name: my-app # container name + image: '{{ .Values.image.name }}' + ports: + - containerPort: 8080 + env: + - name: PORT + value: '8080' diff --git a/2025/helm/jiwlee97/charts/templates/service.yaml b/2025/helm/jiwlee97/charts/templates/service.yaml new file mode 100644 index 0000000..6ef1671 --- /dev/null +++ b/2025/helm/jiwlee97/charts/templates/service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: my-app # service name +spec: + type: NodePort + selector: + app: my-app # which pod transfer traffic to + ports: + - port: 8080 + targetPort: 8080 + nodePort: 30080 diff --git a/2025/helm/jiwlee97/charts/values.yaml b/2025/helm/jiwlee97/charts/values.yaml new file mode 100644 index 0000000..f924518 --- /dev/null +++ b/2025/helm/jiwlee97/charts/values.yaml @@ -0,0 +1,2 @@ +image: + name: my-app From f37af9b00e1ed739d25557ed14e581aa47d5feef Mon Sep 17 00:00:00 2001 From: jiwlee Date: Wed, 23 Jul 2025 21:33:55 +0900 Subject: [PATCH 04/11] =?UTF-8?q?refactor(docker):=20=EB=8D=94=20=EC=9E=91?= =?UTF-8?q?=EC=9D=80=20Base=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2025/helm/jiwlee97/Dockerfile b/2025/helm/jiwlee97/Dockerfile index 414f31e..ab0f1e9 100644 --- a/2025/helm/jiwlee97/Dockerfile +++ b/2025/helm/jiwlee97/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 +FROM node:18-alpine WORKDIR /app COPY ./app/ . From 58d4fd43945069ee9bbd376d656787265e7e54f4 Mon Sep 17 00:00:00 2001 From: jiwlee Date: Tue, 29 Jul 2025 00:11:06 +0900 Subject: [PATCH 05/11] =?UTF-8?q?refactor:=20helm=20=EC=B0=A8=ED=8A=B8?= =?UTF-8?q?=EC=97=90=EC=84=9C=20labels=EC=99=80=20selector=EB=A5=BC=20valu?= =?UTF-8?q?es.yaml=EB=A1=9C=20=EC=A3=BC=EC=9E=85=20=EA=B0=80=EB=8A=A5?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/charts/templates/deployment.yaml | 4 ++-- 2025/helm/jiwlee97/charts/templates/service.yaml | 2 +- 2025/helm/jiwlee97/charts/values.yaml | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/2025/helm/jiwlee97/charts/templates/deployment.yaml b/2025/helm/jiwlee97/charts/templates/deployment.yaml index 15d3b3c..7a97e32 100644 --- a/2025/helm/jiwlee97/charts/templates/deployment.yaml +++ b/2025/helm/jiwlee97/charts/templates/deployment.yaml @@ -6,11 +6,11 @@ spec: replicas: 1 selector: matchLabels: - app: my-app # which pod to manage + app: '{{ .Values.selector }}' # which pod to manage template: metadata: labels: - app: my-app # pod's label that deployment creates + app: '{{ .Values.labels }}' # pod's label that deployment creates spec: containers: - name: my-app # container name diff --git a/2025/helm/jiwlee97/charts/templates/service.yaml b/2025/helm/jiwlee97/charts/templates/service.yaml index 6ef1671..99f0ec3 100644 --- a/2025/helm/jiwlee97/charts/templates/service.yaml +++ b/2025/helm/jiwlee97/charts/templates/service.yaml @@ -5,7 +5,7 @@ metadata: spec: type: NodePort selector: - app: my-app # which pod transfer traffic to + app: '{{ .Values.selector }}' # which pod transfer traffic to ports: - port: 8080 targetPort: 8080 diff --git a/2025/helm/jiwlee97/charts/values.yaml b/2025/helm/jiwlee97/charts/values.yaml index f924518..fa4d073 100644 --- a/2025/helm/jiwlee97/charts/values.yaml +++ b/2025/helm/jiwlee97/charts/values.yaml @@ -1,2 +1,5 @@ +labels: my-app +selector: my-app + image: name: my-app From 39b694f6a0a9b10880ea1f708ffae2adad783def Mon Sep 17 00:00:00 2001 From: jiwlee Date: Tue, 29 Jul 2025 00:16:16 +0900 Subject: [PATCH 06/11] =?UTF-8?q?refactor:=20helm=20=EC=B0=A8=ED=8A=B8?= =?UTF-8?q?=EC=9D=98=20=EB=AA=A8=EB=93=A0=20=ED=8F=AC=ED=8A=B8=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=EC=9D=84=20values.yaml=EB=A1=9C=20=EC=A3=BC=EC=9E=85?= =?UTF-8?q?=20=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/charts/templates/deployment.yaml | 4 ++-- 2025/helm/jiwlee97/charts/templates/service.yaml | 6 +++--- 2025/helm/jiwlee97/charts/values.yaml | 5 +++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/2025/helm/jiwlee97/charts/templates/deployment.yaml b/2025/helm/jiwlee97/charts/templates/deployment.yaml index 7a97e32..fd97321 100644 --- a/2025/helm/jiwlee97/charts/templates/deployment.yaml +++ b/2025/helm/jiwlee97/charts/templates/deployment.yaml @@ -16,7 +16,7 @@ spec: - name: my-app # container name image: '{{ .Values.image.name }}' ports: - - containerPort: 8080 + - containerPort: '{{ .Values.ports.container }}' env: - name: PORT - value: '8080' + value: '{{ .Values.ports.container }}' diff --git a/2025/helm/jiwlee97/charts/templates/service.yaml b/2025/helm/jiwlee97/charts/templates/service.yaml index 99f0ec3..8667f72 100644 --- a/2025/helm/jiwlee97/charts/templates/service.yaml +++ b/2025/helm/jiwlee97/charts/templates/service.yaml @@ -7,6 +7,6 @@ spec: selector: app: '{{ .Values.selector }}' # which pod transfer traffic to ports: - - port: 8080 - targetPort: 8080 - nodePort: 30080 + - port: '{{ .Values.ports.service }}' + targetPort: '{{ .Values.ports.container }}' + nodePort: '{{ .Values.ports.nodePort }}' diff --git a/2025/helm/jiwlee97/charts/values.yaml b/2025/helm/jiwlee97/charts/values.yaml index fa4d073..0bd46c2 100644 --- a/2025/helm/jiwlee97/charts/values.yaml +++ b/2025/helm/jiwlee97/charts/values.yaml @@ -3,3 +3,8 @@ selector: my-app image: name: my-app + +ports: + container: 8080 # Pod 내부 포트 + service: 8080 # Service 포트 + nodePort: 30080 # 외부 접근 포트 From 77aaf91902ef209d5499b03a9d3bffd7a9e0a84d Mon Sep 17 00:00:00 2001 From: jiwlee Date: Tue, 29 Jul 2025 00:20:03 +0900 Subject: [PATCH 07/11] =?UTF-8?q?refactor:=20Service=20=ED=83=80=EC=9E=85?= =?UTF-8?q?=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EC=A1=B0=EA=B1=B4=EB=B6=80=20?= =?UTF-8?q?=EC=86=8D=EC=84=B1=20=EC=A7=80=EC=9B=90=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/charts/templates/service.yaml | 4 +++- 2025/helm/jiwlee97/charts/values.yaml | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/2025/helm/jiwlee97/charts/templates/service.yaml b/2025/helm/jiwlee97/charts/templates/service.yaml index 8667f72..10149af 100644 --- a/2025/helm/jiwlee97/charts/templates/service.yaml +++ b/2025/helm/jiwlee97/charts/templates/service.yaml @@ -3,10 +3,12 @@ kind: Service metadata: name: my-app # service name spec: - type: NodePort + type: '{{ .Values.service.type }}' selector: app: '{{ .Values.selector }}' # which pod transfer traffic to ports: - port: '{{ .Values.ports.service }}' targetPort: '{{ .Values.ports.container }}' + {{- if eq .Values.service.type "NodePort" }} nodePort: '{{ .Values.ports.nodePort }}' + {{- end }} diff --git a/2025/helm/jiwlee97/charts/values.yaml b/2025/helm/jiwlee97/charts/values.yaml index 0bd46c2..1c784e9 100644 --- a/2025/helm/jiwlee97/charts/values.yaml +++ b/2025/helm/jiwlee97/charts/values.yaml @@ -7,4 +7,8 @@ image: ports: container: 8080 # Pod 내부 포트 service: 8080 # Service 포트 - nodePort: 30080 # 외부 접근 포트 + nodePort: 30080 # 외부 접근 포트 (NodePort 타입일 때만 사용) + +# Service 설정 +service: + type: NodePort From 437198e44c0570afa1d26a94feba1a1e3c92f380 Mon Sep 17 00:00:00 2001 From: jiwlee Date: Tue, 29 Jul 2025 22:23:05 +0900 Subject: [PATCH 08/11] fix: Remove quotes from container and service port values in Helm templates Signed-off-by: jiwlee --- 2025/helm/jiwlee97/charts/templates/deployment.yaml | 2 +- 2025/helm/jiwlee97/charts/templates/service.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/2025/helm/jiwlee97/charts/templates/deployment.yaml b/2025/helm/jiwlee97/charts/templates/deployment.yaml index fd97321..4d2a874 100644 --- a/2025/helm/jiwlee97/charts/templates/deployment.yaml +++ b/2025/helm/jiwlee97/charts/templates/deployment.yaml @@ -16,7 +16,7 @@ spec: - name: my-app # container name image: '{{ .Values.image.name }}' ports: - - containerPort: '{{ .Values.ports.container }}' + - containerPort: {{ .Values.ports.container }} env: - name: PORT value: '{{ .Values.ports.container }}' diff --git a/2025/helm/jiwlee97/charts/templates/service.yaml b/2025/helm/jiwlee97/charts/templates/service.yaml index 10149af..4ee0bd4 100644 --- a/2025/helm/jiwlee97/charts/templates/service.yaml +++ b/2025/helm/jiwlee97/charts/templates/service.yaml @@ -3,12 +3,12 @@ kind: Service metadata: name: my-app # service name spec: - type: '{{ .Values.service.type }}' + type: {{ .Values.service.type }} selector: app: '{{ .Values.selector }}' # which pod transfer traffic to ports: - - port: '{{ .Values.ports.service }}' - targetPort: '{{ .Values.ports.container }}' + - port: {{ .Values.ports.service }} + targetPort: {{ .Values.ports.container }} {{- if eq .Values.service.type "NodePort" }} - nodePort: '{{ .Values.ports.nodePort }}' + nodePort: {{ .Values.ports.nodePort }} {{- end }} From 166c8dbec5d7cdc43c282e610d9d1199c3d83efe Mon Sep 17 00:00:00 2001 From: jiwlee Date: Wed, 30 Jul 2025 19:35:05 +0900 Subject: [PATCH 09/11] =?UTF-8?q?refactor:=20multi=20stage=20build=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/Dockerfile | 14 +++++++++++--- 2025/helm/jiwlee97/app/package.json | 3 ++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/2025/helm/jiwlee97/Dockerfile b/2025/helm/jiwlee97/Dockerfile index ab0f1e9..c06b5bd 100644 --- a/2025/helm/jiwlee97/Dockerfile +++ b/2025/helm/jiwlee97/Dockerfile @@ -1,12 +1,20 @@ -FROM node:18-alpine +FROM node:18-alpine AS build WORKDIR /app +COPY ./app/package*.json ./app/tsconfig.json ./ COPY ./app/ . RUN npm install -RUN npx tsc +RUN npm run build + +FROM node:18-alpine AS production + +WORKDIR /app +COPY --from=build /app/dist ./dist +COPY --from=build /app/package*.json ./ + +RUN npm ci --only=production && npm cache clean --force ENV PORT=8080 EXPOSE 8080 - CMD ["node", "dist/main.js"] \ No newline at end of file diff --git a/2025/helm/jiwlee97/app/package.json b/2025/helm/jiwlee97/app/package.json index f688c36..d93ed93 100644 --- a/2025/helm/jiwlee97/app/package.json +++ b/2025/helm/jiwlee97/app/package.json @@ -4,7 +4,8 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "build": "tsc" }, "keywords": [], "author": "", From 0d2841ca92820a7fbc1f44b38b3b570cad5fdf5c Mon Sep 17 00:00:00 2001 From: jiwlee Date: Wed, 24 Sep 2025 22:49:22 +0900 Subject: [PATCH 10/11] =?UTF-8?q?refactor:=20values=20=EA=B5=AC=EC=A1=B0?= =?UTF-8?q?=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/charts/templates/deployment.yaml | 4 ++-- 2025/helm/jiwlee97/charts/templates/service.yaml | 6 +++--- 2025/helm/jiwlee97/charts/values.yaml | 9 +++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/2025/helm/jiwlee97/charts/templates/deployment.yaml b/2025/helm/jiwlee97/charts/templates/deployment.yaml index 4d2a874..67897cd 100644 --- a/2025/helm/jiwlee97/charts/templates/deployment.yaml +++ b/2025/helm/jiwlee97/charts/templates/deployment.yaml @@ -16,7 +16,7 @@ spec: - name: my-app # container name image: '{{ .Values.image.name }}' ports: - - containerPort: {{ .Values.ports.container }} + - containerPort: {{ .Values.pod.port }} env: - name: PORT - value: '{{ .Values.ports.container }}' + value: '{{ .Values.pod.port }}' diff --git a/2025/helm/jiwlee97/charts/templates/service.yaml b/2025/helm/jiwlee97/charts/templates/service.yaml index 4ee0bd4..3a0af43 100644 --- a/2025/helm/jiwlee97/charts/templates/service.yaml +++ b/2025/helm/jiwlee97/charts/templates/service.yaml @@ -7,8 +7,8 @@ spec: selector: app: '{{ .Values.selector }}' # which pod transfer traffic to ports: - - port: {{ .Values.ports.service }} - targetPort: {{ .Values.ports.container }} + - port: {{ .Values.service.port }} + targetPort: {{ .Values.pod.port }} {{- if eq .Values.service.type "NodePort" }} - nodePort: {{ .Values.ports.nodePort }} + nodePort: {{ .Values.service.nodePort }} {{- end }} diff --git a/2025/helm/jiwlee97/charts/values.yaml b/2025/helm/jiwlee97/charts/values.yaml index 1c784e9..fc89897 100644 --- a/2025/helm/jiwlee97/charts/values.yaml +++ b/2025/helm/jiwlee97/charts/values.yaml @@ -4,11 +4,12 @@ selector: my-app image: name: my-app -ports: - container: 8080 # Pod 내부 포트 - service: 8080 # Service 포트 - nodePort: 30080 # 외부 접근 포트 (NodePort 타입일 때만 사용) +# Pod 설정 +pod: + port: 8080 # Pod 내부 포트 (컨테이너 포트) # Service 설정 service: type: NodePort + port: 8080 # Service 포트 + nodePort: 30080 # 외부 접근 포트 (NodePort 타입일 때만 사용) From 757a35301c810c47897e4a7989f559465653e6f0 Mon Sep 17 00:00:00 2001 From: jiwlee Date: Wed, 24 Sep 2025 23:10:59 +0900 Subject: [PATCH 11/11] =?UTF-8?q?refactor:=20Helm=20=EB=9D=BC=EB=B2=A8=20?= =?UTF-8?q?=EA=B5=AC=EC=A1=B0=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiwlee --- 2025/helm/jiwlee97/charts/templates/_helpers.tpl | 14 ++++++++++++++ .../jiwlee97/charts/templates/deployment.yaml | 15 +++++++++------ 2025/helm/jiwlee97/charts/templates/service.yaml | 6 ++++-- 2025/helm/jiwlee97/charts/values.yaml | 4 ++-- 4 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 2025/helm/jiwlee97/charts/templates/_helpers.tpl diff --git a/2025/helm/jiwlee97/charts/templates/_helpers.tpl b/2025/helm/jiwlee97/charts/templates/_helpers.tpl new file mode 100644 index 0000000..9e681e2 --- /dev/null +++ b/2025/helm/jiwlee97/charts/templates/_helpers.tpl @@ -0,0 +1,14 @@ +{{/* +앱 이름 +*/}} +{{- define "myapp.name" -}} +{{- .Values.appName | default "my-app" }} +{{- end }} + +{{/* +Pod 선택을 위한 라벨 (deployment와 service가 매칭하는 라벨) +*/}} +{{- define "myapp.selectorLabels" -}} +app: {{ include "myapp.name" . }} +version: {{ .Values.appVersion | default "v1" }} +{{- end }} diff --git a/2025/helm/jiwlee97/charts/templates/deployment.yaml b/2025/helm/jiwlee97/charts/templates/deployment.yaml index 67897cd..cdbc937 100644 --- a/2025/helm/jiwlee97/charts/templates/deployment.yaml +++ b/2025/helm/jiwlee97/charts/templates/deployment.yaml @@ -1,22 +1,25 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: my-app # deployment name + name: {{ include "myapp.name" . }} + labels: + {{- include "myapp.selectorLabels" . | nindent 4 }} spec: replicas: 1 selector: matchLabels: - app: '{{ .Values.selector }}' # which pod to manage + {{- include "myapp.selectorLabels" . | nindent 6 }} template: metadata: labels: - app: '{{ .Values.labels }}' # pod's label that deployment creates + {{- include "myapp.selectorLabels" . | nindent 8 }} spec: containers: - - name: my-app # container name - image: '{{ .Values.image.name }}' + - name: {{ include "myapp.name" . }} + image: {{ .Values.image.name }} + imagePullPolicy: IfNotPresent ports: - containerPort: {{ .Values.pod.port }} env: - name: PORT - value: '{{ .Values.pod.port }}' + value: {{ .Values.pod.port | quote }} \ No newline at end of file diff --git a/2025/helm/jiwlee97/charts/templates/service.yaml b/2025/helm/jiwlee97/charts/templates/service.yaml index 3a0af43..179d687 100644 --- a/2025/helm/jiwlee97/charts/templates/service.yaml +++ b/2025/helm/jiwlee97/charts/templates/service.yaml @@ -1,11 +1,13 @@ apiVersion: v1 kind: Service metadata: - name: my-app # service name + name: {{ include "myapp.name" . }} + labels: + {{- include "myapp.selectorLabels" . | nindent 4 }} spec: type: {{ .Values.service.type }} selector: - app: '{{ .Values.selector }}' # which pod transfer traffic to + {{- include "myapp.selectorLabels" . | nindent 4 }} ports: - port: {{ .Values.service.port }} targetPort: {{ .Values.pod.port }} diff --git a/2025/helm/jiwlee97/charts/values.yaml b/2025/helm/jiwlee97/charts/values.yaml index fc89897..d4627eb 100644 --- a/2025/helm/jiwlee97/charts/values.yaml +++ b/2025/helm/jiwlee97/charts/values.yaml @@ -1,5 +1,5 @@ -labels: my-app -selector: my-app +appName: my-app +appVersion: v1 image: name: my-app