feat: add .gitignore and apps/template for new apps

This commit is contained in:
2026-04-01 16:32:59 +08:00
parent 98cd6b71cb
commit 19342c6821
10 changed files with 292 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# Service 範本
# 使用方式:將 {{APP_NAME}}、{{PORT}} 替換為實際值
apiVersion: v1
kind: Service
metadata:
name: {{APP_NAME}}-service
namespace: default
labels:
app: {{APP_NAME}}
spec:
type: ClusterIP
selector:
app: {{APP_NAME}}
ports:
- name: http
port: 80
targetPort: {{PORT|8080}