feat: Add Learn-Number tool for preschool math practice and refactor HTML components
Build and Push Docker Image / build (push) Successful in 2m55s
Build and Push Docker Image / build (push) Successful in 2m55s
This commit is contained in:
+10
-8
@@ -1,8 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: toolbox
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: own-tools
|
||||
namespace: default
|
||||
namespace: toolbox
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -13,9 +18,6 @@ spec:
|
||||
labels:
|
||||
app: own-tools
|
||||
spec:
|
||||
# 如果你的 Gitea 仓库是私有的,请取消下面注释并创建对应的 Secret
|
||||
# imagePullSecrets:
|
||||
# - name: gitea-registry-secret
|
||||
containers:
|
||||
- name: toolbox
|
||||
image: git.pengzhan.dev/haopengzhan/own-tools:latest
|
||||
@@ -52,8 +54,8 @@ spec:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: own-tools
|
||||
namespace: default
|
||||
name: own-tools-service
|
||||
namespace: toolbox
|
||||
spec:
|
||||
selector:
|
||||
app: own-tools
|
||||
@@ -67,7 +69,7 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: own-tools-ingress
|
||||
namespace: default
|
||||
namespace: toolbox
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
@@ -80,7 +82,7 @@ spec:
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: own-tools
|
||||
name: own-tools-service
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
|
||||
Reference in New Issue
Block a user