ci: add kustomization
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: helloapp
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: go-example
|
||||
@@ -52,7 +57,7 @@ spec:
|
||||
name: go-example-config
|
||||
- name: helloapp-test-key
|
||||
secret:
|
||||
secretName: helloapp-test-key
|
||||
secretName: helloapp-test-key # 需要事先创建该 Secret
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
|
||||
5
kustomization.yaml
Normal file
5
kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- flux-system/
|
||||
Reference in New Issue
Block a user