Skip to content

Commit

Permalink
Merge pull request #19 from projectsyn/remove-enable-flag
Browse files Browse the repository at this point in the history
Remove parameter `enabled`
  • Loading branch information
megian authored Aug 25, 2023
2 parents ac31211 + b7627ba commit 6682ca7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
4 changes: 0 additions & 4 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ parameters:
csi_cloudscale:
namespace: syn-csi-cloudscale
version: v3.5.0
# This switch is required to selectively disable the commoponent
# TODO: Reevaluate the need for this once disabeling got implemented.
# See: https://github.com/projectsyn/commodore/issues/71
enabled: true
api_token: ?{vaultkv:${cluster:tenant}/${cluster:name}/cloudscale/token}
fs_type: ext4
driver_daemonset_tolerations: {}
Expand Down
4 changes: 2 additions & 2 deletions component/app.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ local argocd = import 'lib/argocd.libjsonnet';

local app = argocd.App('csi-cloudscale', params.namespace, secrets=true);

if params.enabled then {
{
'csi-cloudscale': app,
} else {}
}
9 changes: 0 additions & 9 deletions docs/modules/ROOT/pages/references/parameters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ See https://github.com/cloudscale-ch/csi-cloudscale/releases[available versions]
See https://github.com/cloudscale-ch/csi-cloudscale#kubernetes-compatibility[Kubernetes compatibility] to choose the right version for your cluster.


== `enabled`

[horizontal]
type:: boolean
default:: `true`

Switch to enable or disable the component. See https://github.com/projectsyn/commodore/issues/71[this issue] for further details.


== `api_token`

[horizontal]
Expand Down

0 comments on commit 6682ca7

Please sign in to comment.