Skip to content

Commit

Permalink
Remove usage of the operatorConfigInstall file, which was removed ups…
Browse files Browse the repository at this point in the history
…tream
  • Loading branch information
jiridanek authored and michalxo committed Oct 16, 2023
1 parent e883aff commit 4092fb7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions common/src/main/java/io/brokerqe/claire/ArtemisConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ public interface ArtemisConstants {
String INSTALL_ARTEMIS_CO_070_NAMESPACE_ROLE_BINDING_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "namespace_role_binding.yaml";
String INSTALL_ARTEMIS_CO_080_ELECTION_ROLE_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "election_role.yaml";
String INSTALL_ARTEMIS_CO_090_ELECTION_ROLE_BINDING_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "election_role_binding.yaml";
String INSTALL_ARTEMIS_CO_100_OPERATOR_CONFIG_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "operator_config.yaml";
String INSTALL_ARTEMIS_CO_110_OPERATOR_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "operator.yaml";
String EXAMPLE_ADDRESS_QUEUE_PATH = Constants.EXAMPLES_DIR_PATH + "address/address_queue.yaml";
String EXAMPLE_ADDRESS_TOPIC_PATH = Constants.EXAMPLES_DIR_PATH + "address/address_topic.yaml";
Expand All @@ -157,7 +156,6 @@ public interface ArtemisConstants {
String OLD_INSTALL_ARTEMIS_CO_070_NAMESPACE_ROLE_BINDING_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "role_binding.yaml"; // 070_namespace_role_binding.yaml
String OLD_INSTALL_ARTEMIS_CO_080_ELECTION_ROLE_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "election_role.yaml"; // 080_election_role.yaml
String OLD_INSTALL_ARTEMIS_CO_090_ELECTION_ROLE_BINDING_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "election_role_binding.yaml"; // 090_election_role_binding.yaml
String OLD_INSTALL_ARTEMIS_CO_100_OPERATOR_CONFIG_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "operator_config.yaml"; // 100_operator_config.yaml
String OLD_INSTALL_ARTEMIS_CO_110_OPERATOR_PATH = Constants.OPERATOR_INSTALL_DIR_PATH + "operator.yaml"; // 110_operator.yaml
String OLD_EXAMPLE_ADDRESS_QUEUE_PATH = Constants.EXAMPLES_DIR_PATH + "address/address-queue-create.yaml";
// TODO alternative file does not exist?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public class ArtemisCloudClusterOperatorFile extends ArtemisCloudClusterOperator
ArtemisFileProvider.getServiceAccountInstallFile(),
ArtemisFileProvider.getElectionRoleInstallFile(),
ArtemisFileProvider.getElectionRoleBindingInstallFile(),
ArtemisFileProvider.getOperatorConfigInstallFile(),
ArtemisFileProvider.getOperatorInstallFile()
);
private List<Path> filesToDeploy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ public static Path getElectionRoleBindingInstallFile() {
return getPresentFile(ArtemisConstants.INSTALL_ARTEMIS_CO_090_ELECTION_ROLE_BINDING_PATH, ArtemisConstants.OLD_INSTALL_ARTEMIS_CO_090_ELECTION_ROLE_BINDING_PATH);
}

public static Path getOperatorConfigInstallFile() {
return getPresentFile(ArtemisConstants.INSTALL_ARTEMIS_CO_100_OPERATOR_CONFIG_PATH, ArtemisConstants.OLD_INSTALL_ARTEMIS_CO_100_OPERATOR_CONFIG_PATH);
}

public static Path getOperatorInstallFile() {
return getPresentFile(ArtemisConstants.INSTALL_ARTEMIS_CO_110_OPERATOR_PATH, ArtemisConstants.OLD_INSTALL_ARTEMIS_CO_110_OPERATOR_PATH);
}
Expand Down

0 comments on commit 4092fb7

Please sign in to comment.