Skip to content

Commit

Permalink
proper sls inclusion for cert-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
eg-ayoub committed Sep 19, 2024
1 parent 6518b78 commit 3e4cab5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildchain/buildchain/salt_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ def task(self) -> types.TaskDict:
"salt/metalk8s/addons/alert-tree/files/prometheus_rule.yaml"
),
),
Path("salt/metalk8s/addons/cert-manager/deployed/chart.sls"),
Path("salt/metalk8s/addons/cert-manager/deployed/init.sls"),
Path("salt/metalk8s/addons/cert-manager/deployed/namespace.sls"),
Path("salt/metalk8s/addons/dex/ca/init.sls"),
Path("salt/metalk8s/addons/dex/ca/installed.sls"),
Path("salt/metalk8s/addons/dex/ca/advertised.sls"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include:
- .namespace
- .chart
10 changes: 10 additions & 0 deletions salt/metalk8s/addons/cert-manager/deployed/namespace.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!jinja | metalk8s_kubernetes

apiVersion: v1
kind: Namespace
metadata:
name: metalk8s-certs
labels:
app.kubernetes.io/managed-by: salt
app.kubernetes.io/part-of: metalk8s
heritage: metalk8s
1 change: 1 addition & 0 deletions salt/metalk8s/deployed/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include:
- .core
- metalk8s.addons.alert-logger.deployed
- metalk8s.addons.prometheus-operator.deployed
- metalk8s.addons.cert-manager.deployed
- metalk8s.addons.nginx-ingress.deployed
- metalk8s.addons.nginx-ingress-control-plane.deployed
- metalk8s.addons.volumes.deployed
Expand Down

0 comments on commit 3e4cab5

Please sign in to comment.