Compare commits

..

2 Commits

Author SHA1 Message Date
Zpekii
05e25ab63e Merge branch 'main' of https://git.0orz.top/Zpekii/go-example
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m31s
2026-01-25 16:21:39 +08:00
Zpekii
78c839f3a7 ci: add kustomization 2026-01-25 16:21:38 +08:00
2 changed files with 11 additions and 1 deletions

View File

@@ -1,4 +1,9 @@
apiVersion: v1 apiVersion: v1
kind: Namespace
metadata:
name: helloapp
---
apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: go-example name: go-example
@@ -52,7 +57,7 @@ spec:
name: go-example-config name: go-example-config
- name: helloapp-test-key - name: helloapp-test-key
secret: secret:
secretName: helloapp-test-key secretName: helloapp-test-key # 需要事先创建该 Secret
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap

5
kustomization.yaml Normal file
View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- flux-system/