Try to fix dev appset
This commit is contained in:
parent
d3fa86e6aa
commit
78911de58c
@ -1,4 +1,3 @@
|
||||
# file: applicationsets/envs-appset.yaml in app-definition.git (optional location)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
@ -25,7 +24,7 @@ spec:
|
||||
targetRevision: HEAD
|
||||
path: env-sets/{{env}}
|
||||
directory:
|
||||
recurse: true
|
||||
recurse: true # ✅ This ensures it picks up applicationSet.yaml in that folder
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: '{{namespace}}'
|
||||
|
||||
@ -12,7 +12,7 @@ spec:
|
||||
- path: env-sets/dev/services/*.yaml
|
||||
template:
|
||||
metadata:
|
||||
name: dev-{{path.basename | lower | replace "_" "-" | replace "." "-" }} # ✅ fix here
|
||||
name: dev-{{path.basename | lower | replace "_" "-" | replace "." "-" }}
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
@ -21,7 +21,7 @@ spec:
|
||||
chart: ngnix-message
|
||||
helm:
|
||||
valueFiles:
|
||||
- services/{{path.basename}}
|
||||
- services/{{path.basename}} # ✅ Relative to the app-definition repo
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: dev
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user