File tree 8 files changed +2815
-7
lines changed
applications/example-application
8 files changed +2815
-7
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
18
18
steps :
19
19
- name : Wrap Input
20
- run : |
21
- echo "::set-env name= APP_REPO:: ${{ github.event.inputs.app_repo }}"
22
- echo "::set-env name= TAG_NAME:: ${{ github.event.inputs.tag_name }}"
23
- echo "::set-env name= IMAGE:: ${{ github.event.inputs.image }}"
24
- echo "::set-env name= DEPLOY_FILE_PATH:: ${{ github.event.inputs.app_repo }}/deployment.yaml"
20
+ run : |
21
+ echo "APP_REPO= ${{ github.event.inputs.app_repo }}" >> $GITHUB_ENV
22
+ echo "TAG_NAME= ${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV
23
+ echo "IMAGE= ${{ github.event.inputs.image }}" >> $GITHUB_ENV
24
+ echo "DEPLOY_FILE_PATH=applications/ ${{ github.event.inputs.app_repo }}/deployment.yaml" >> $GITHUB_ENV
25
25
- uses : actions/checkout@v2
26
26
- uses : azure/setup-kubectl@v1
27
27
id : install
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ apiVersion: apps/v1
2
2
kind : Deployment
3
3
metadata :
4
4
name : example-application
5
-
6
5
spec :
7
6
replicas : 1
8
7
selector :
18
17
image : <image-name>:<tag>
19
18
ports :
20
19
- containerPort : 8080
21
-
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : source.toolkit.fluxcd.io/v1beta1
3
+ kind : GitRepository
4
+ metadata :
5
+ name : applications
6
+ namespace : default
7
+ spec :
8
+ interval : 30s
9
+ ref :
10
+ branch : main
11
+ url : ssh://git@github.com/gitops-tech/example-environment
12
+
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.toolkit.fluxcd.io/v1beta1
2
+ kind : Kustomization
3
+ metadata :
4
+ name : example-application
5
+ namespace : default
6
+ spec :
7
+ interval : 5m0s
8
+ path : ./applications/example-application
9
+ prune : true
10
+ sourceRef :
11
+ kind : GitRepository
12
+ name : applications
13
+ validation : client
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : source.toolkit.fluxcd.io/v1beta1
3
+ kind : GitRepository
4
+ metadata :
5
+ name : flux-system
6
+ namespace : flux-system
7
+ spec :
8
+ interval : 1m0s
9
+ ref :
10
+ branch : main
11
+ secretRef :
12
+ name : flux-system
13
+ url : ssh://git@github.com/gitops-tech/example-environment
14
+ ---
15
+ apiVersion : kustomize.toolkit.fluxcd.io/v1beta1
16
+ kind : Kustomization
17
+ metadata :
18
+ name : flux-system
19
+ namespace : flux-system
20
+ spec :
21
+ interval : 10m0s
22
+ path : ./cluster-config
23
+ prune : true
24
+ sourceRef :
25
+ kind : GitRepository
26
+ name : flux-system
27
+ validation : client
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.config.k8s.io/v1beta1
2
+ kind : Kustomization
3
+ resources :
4
+ - gotk-components.yaml
5
+ - gotk-sync.yaml
You can’t perform that action at this time.
0 commit comments