Compare commits
4 Commits
c281d4daab
...
81ca7e9b1a
| Author | SHA1 | Date | |
|---|---|---|---|
|
81ca7e9b1a
|
|||
| 3224562335 | |||
| a5138e81d2 | |||
| d28d80ddbb |
@@ -7,7 +7,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'clusters/cl01tl/helm/**'
|
- 'clusters/cl01tl/helm/**'
|
||||||
types:
|
types:
|
||||||
- labeled
|
- closed
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CLUSTER: cl01tl
|
CLUSTER: cl01tl
|
||||||
@@ -19,8 +19,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
render-manfiest-automerge:
|
render-manfiest-automerge:
|
||||||
runs-on: ubuntu-js
|
runs-on: ubuntu-js
|
||||||
if: |
|
if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'automerge')) }}
|
||||||
(github.event_name == 'pull_request' && github.event.action == 'labeled' && contains(github.event.pull_request.labels.*.name, 'automerge'))
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Main
|
- name: Checkout Main
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|||||||
@@ -171,7 +171,33 @@ jobs:
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Rendering templates ..."
|
echo ">> Rendering templates ..."
|
||||||
|
|
||||||
|
case "$chart_name" in
|
||||||
|
"stack")
|
||||||
|
echo ">> Special Rendering for stack ..."
|
||||||
|
helm template stack ./ --namespace argocd --include-crds > "$OUTPUT_FILE"
|
||||||
|
;;
|
||||||
|
"cilium")
|
||||||
|
echo ">> Special Rendering for cilium ..."
|
||||||
|
helm template cilium ./ --namespace kube-system --include-crds > "$OUTPUT_FILE"
|
||||||
|
;;
|
||||||
|
"coredns")
|
||||||
|
echo ">> Special Rendering for coredns ..."
|
||||||
|
helm template coredns ./ --namespace kube-system --include-crds > "$OUTPUT_FILE"
|
||||||
|
;;
|
||||||
|
"metrics-server")
|
||||||
|
echo ">> Special Rendering for metrics-server ..."
|
||||||
|
helm template metrics-server ./ --namespace kube-system --include-crds > "$OUTPUT_FILE"
|
||||||
|
;;
|
||||||
|
"prometheus-operator-crds")
|
||||||
|
echo ">> Special Rendering for prometheus-operator-crds ..."
|
||||||
|
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds > "$OUTPUT_FILE"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo ">> Standard Rendering for $chart_name ..."
|
||||||
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds > "$OUTPUT_FILE"
|
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds > "$OUTPUT_FILE"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
|
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ shelly-plug:
|
|||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
repository: php
|
repository: php
|
||||||
tag: 8.4.15-apache-bookworm
|
tag: 8.5.0-apache-bookworm
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: SHELLY_HOSTNAME
|
- name: SHELLY_HOSTNAME
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ spec:
|
|||||||
exclude: true
|
exclude: true
|
||||||
- path: clusters/cl01tl/manifests/metrics-server
|
- path: clusters/cl01tl/manifests/metrics-server
|
||||||
exclude: true
|
exclude: true
|
||||||
- path: clusters/cl01tl/manifests/kubelet-serving-cert-approver
|
|
||||||
exclude: true
|
|
||||||
- path: clusters/cl01tl/manifests/prometheus-operator-crds
|
- path: clusters/cl01tl/manifests/prometheus-operator-crds
|
||||||
exclude: true
|
exclude: true
|
||||||
template:
|
template:
|
||||||
|
|||||||
@@ -156,44 +156,6 @@ spec:
|
|||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: kubelet-serving-cert-approver
|
|
||||||
namespace: argocd
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: kubelet-serving-cert-approver
|
|
||||||
app.kubernetes.io/instance: argocd
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: http://gitea-http.gitea:3000/alexlebens/infrastructure
|
|
||||||
targetRevision: manifests
|
|
||||||
path: clusters/cl01tl/manifests/kubelet-serving-cert-approver
|
|
||||||
destination:
|
|
||||||
name: in-cluster
|
|
||||||
namespace: kubelet-serving-cert-approver
|
|
||||||
revisionHistoryLimit: 3
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: false
|
|
||||||
retry:
|
|
||||||
limit: 3
|
|
||||||
backoff:
|
|
||||||
duration: 1m
|
|
||||||
factor: 2
|
|
||||||
maxDuration: 15m
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
- PruneLast=true
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
|
|||||||
Reference in New Issue
Block a user