Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy namespace-lister to production #5357

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@ spec:
generators:
- clusters:
values:
# This app must have cluster specific configurations, so we
# need to provide a config for clusters we do not wish to deploy
# to. The `empty-base` clusterDir is an overlay that deploys no
# resources to non-matching clusters.
clusterDir: empty-base
sourceRoot: components/namespace-lister
environment: staging
clusterDir: ""
- list:
elements:
- nameNormalized: stone-stg-rh01
values.clusterDir: stone-stg-rh01
- nameNormalized: kflux-prd-rh02
values.clusterDir: kflux-prd-rh02
template:
metadata:
name: namespace-lister-{{nameNormalized}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,3 @@ kind: ApplicationSet
metadata:
name: kyverno
$patch: delete
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: namespace-lister
$patch: delete
3 changes: 3 additions & 0 deletions components/namespace-lister/empty-base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: namespace-lister
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base/
Loading