Skip to content

Commit

Permalink
[services] improved onchange resource definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Sep 13, 2023
1 parent 4340c8e commit abc3e0a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ config/talos/**/talosconfig
!config/talos/patch.yaml
!config/talos/worker-patch.yaml
config/**/*.yaml
apps/services/changedetection/base/svc.yaml
3 changes: 1 addition & 2 deletions apps/argocd/base/services/onchange.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ spec:
- Validate=false
- CreateNamespace=false
- PrunePropagationPolicy=foreground
- PruneLast=true
- ApplyOutOfSyncOnly=false
- Prune=true
- ServerSideApply=true
retry:
limit: 5
backoff:
Expand Down
1 change: 1 addition & 0 deletions apps/services/changedetection/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
link.argocd.argoproj.io/external-link: http://onchange.gruber.dev.br
spec:
replicas: 1
revisionHistoryLimit: 0
strategy:
type: Recreate
selector:
Expand Down
7 changes: 5 additions & 2 deletions apps/services/changedetection/base/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ metadata:
spec:
selector:
app: change-server
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
ports:
- name: web
port: 80
targetPort: 5000
protocol: TCP
loadBalancerClass: tailscale
type: LoadBalancer
type: ClusterIP
2 changes: 1 addition & 1 deletion tasks/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ env:
INTERFACE: enp1s0
KVVERSION: v0.5.7
K3D_VERSION: v5.4.6
INSTALL_K3S_VERSION: v1.27.4+k3s1
INSTALL_K3S_VERSION: v1.28.1+k3s1

silent: true

Expand Down

0 comments on commit abc3e0a

Please sign in to comment.