chore: fmt [no ci]

This commit is contained in:
2026-07-07 22:16:21 +07:00 Unverified
parent 2db9bb10a2
commit 7bfabaa5a1
8 changed files with 147 additions and 127 deletions
+20 -20
View File
@@ -6,23 +6,23 @@ metadata:
spec:
ingressClassName: traefik
rules:
- host: api.dgnr.us
http:
paths:
- backend:
service:
name: enka-api
port:
number: 80
path: /
pathType: Prefix
- host: api.astrxl.dev
http:
paths:
- backend:
service:
name: enka-api
port:
number: 80
path: /
pathType: Prefix
- host: api.dgnr.us
http:
paths:
- backend:
service:
name: enka-api
port:
number: 80
path: /
pathType: Prefix
- host: api.astrxl.dev
http:
paths:
- backend:
service:
name: enka-api
port:
number: 80
path: /
pathType: Prefix
+9 -9
View File
@@ -4,12 +4,12 @@ kind: Kustomization
namespace: enka
resources:
- namespace.yaml
- deployment.yaml
- service.yaml
- ingress.yaml
- secret.yaml
- service-account.yaml
- role.yaml
- role-binding.yaml
- token-secret.yaml
- namespace.yaml
- deployment.yaml
- service.yaml
- ingress.yaml
- secret.yaml
- service-account.yaml
- role.yaml
- role-binding.yaml
- token-secret.yaml
+3 -3
View File
@@ -8,6 +8,6 @@ roleRef:
kind: Role
name: ci-deployer
subjects:
- kind: ServiceAccount
name: ci-deployer
namespace: enka
- kind: ServiceAccount
name: ci-deployer
namespace: enka
+15 -15
View File
@@ -4,18 +4,18 @@ metadata:
name: ci-deployer
namespace: enka
rules:
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["services"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
- apiGroups: ["networking.k8s.io"]
resources: ["ingresses"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
- apiGroups: ["batch"]
resources: ["jobs"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["services"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
- apiGroups: ["networking.k8s.io"]
resources: ["ingresses"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
- apiGroups: ["batch"]
resources: ["jobs"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
+3 -3
View File
@@ -6,8 +6,8 @@ metadata:
spec:
type: ClusterIP
ports:
- name: http
port: 80
targetPort: 3000
- name: http
port: 80
targetPort: 3000
selector:
app: enka-api