Skip to content

Commit

Permalink
Merge pull request #17 from projectsyn/no_namespace
Browse files Browse the repository at this point in the history
Don't care about creating a namespace
  • Loading branch information
psy-q authored Oct 25, 2021
2 parents 39f70be + 6edabf5 commit 9bb4cd7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ local default_resources = {

local resources = if res != null then std.mergePatch(default_resources, res) else null;

local namespace = kube.Namespace(params.namespace) {
metadata+: {
labels+: {
SYNMonitoring: 'main',
},
},
};

local secret = kube.Secret('maxscale') {
metadata+: {
namespace: params.namespace,
Expand Down Expand Up @@ -166,6 +158,5 @@ local configfile = kube.ConfigMap('maxscale-config') {


{
'00_namespace': namespace,
'10_maxscale': [ secret, deployment, service_masteronly, service_rwsplit, configfile ],
}

0 comments on commit 9bb4cd7

Please sign in to comment.