Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Dec 3, 2023
1 parent d5e529a commit baa18b9
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 229 deletions.
1 change: 0 additions & 1 deletion component/class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ parameters:
memory: 200Mi

stsResizer:
enabled: true
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion component/component/statefuleset-resize-controller.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ local resizeClusterRoleBinding = kube.ClusterRoleBinding('appcat:job:resizejob')
};

// Curently we only need this for redis.
if params.services.vshn.enabled && params.services.vshn.stsResizer.enabled then {
if params.services.vshn.enabled && (params.services.vshn.redis.enabled || params.services.vshn.services.mariadb.enabled) then {
'controllers/sts-resizer/10_role': role,
'controllers/sts-resizer/10_sa': sa,
'controllers/sts-resizer/10_binding': binding,
Expand Down
3 changes: 1 addition & 2 deletions component/component/vshn_appcat_services.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ local getServiceNamePlural(serviceName) =

local vshn_appcat_service(name) =
local isOpenshift = std.startsWith(inv.parameters.facts.distribution, 'openshift');
local securityContext = !isOpenshift;


local serviceParams = params.services.vshn.services[name];
local connectionSecretKeys = serviceParams.connectionSecretKeys;
local promRuleSLA = prom.PromRuleSLA(serviceParams.sla, serviceParams.serviceName);
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

0 comments on commit baa18b9

Please sign in to comment.