package OcToolkit;
use v5.16; # or newer
use strict;
use warnings;
our $VERSION = "1.08";
use JSON::PP;
use Text::Diff;
use Template;
use File::Slurp;
use File::Find::Rule;
use File::Path qw(make_p
= {@_};
$self->{tt} = Template->new({INTERPOLATE => 1});
$self->{json} = JSON::PP->new;
$self->{json}->convert_blessed();
$self->{secretsDir} = "secrets"
if not defined $self->{secretsDir};
$self->{ocConfigFile} = "oc_config.json" if not defined $self->{ocConfigFile};
$self->{templatesTTDir} = "templates_tt"
mplating engine.
Put your config into oc_config.json. Located in current dir.
'instance_specific_data' : put your instance specific data in this json node, see example belove and in git
'instanc
end of every entry, see example belove and in git
'project': project specifc data
oc_config.json root data are fix for every instance
Flags description:
-A cluster base address, e.g.: 'apps
datory
-c cluster name e.g.: 'clusterIntern','clusterPublic'... Default is defined in oc_config.json->project->default_cluster.
You should be logged in into corresponding cluster
If clust