Upgrading to Charts version 0.2.0

The new version might result in incompatible changes in the deployment, effectively this means that the previous deployment has to be deleted and recreated in favor of the new version. This will result in some downtime, however all the required state of connectors is persisted and will be resumed upon starting of the new instance.

InitContainer Changes

The deployment model has slightly changed to not include Cluster Manager, consequently the configuration for waitForClusterApi can be removed.

deployConnectTopics has been replaced by kafkaInitContainer for the deployment of the topics needed on startup of Axual Connect.

An example of the information needed follows:

# -- Properties defined for initializing kafka acls prior to running Connect
kafkaInitContainer:
  # -- Kafka bootstrap servers to initialize
  bootstrapServers: ""
  # -- Principal common name used to produce and consume from connect state/offset/config topics (should match the one on axual.tls.clientKeystore)
  principal: ""
  # -- Distributor principal common name used to produce and consume from connect state/offset/config topics
  distributionPrincipal: ""
  tls:
    # -- Existing Keypair secret name
    keypairSecretName: ""
    # -- Existing Keypair key name
    keypairSecretKeyName: ""
    # -- Existing Keypair certificate name
    keypairSecretCertName: ""
    # -- Existing Truststore secret name
    truststoreCaSecretName: ""
    # -- Existing Truststore certificate name
    truststoreCaSecretCertName: ""

principal and distributionPrincipal need to be formatted with Kafka acl format per TYPE:NAME where type is usually User.

Static Configuration

Discovery Service is no longer supported, therefore the staticConfig segment of the documentation is required on startup. From this version onwards it is no longer to define axual.configMode.

An example of the information needed follows:

axual:
  staticConfig:
    # -- Tenant name
    tenant: ""
    # -- Instance name
    instance: ""
    # -- Cluster name
    cluster: ""
    # -- Bootstrap server url
    bootstrapServers: ""
    # -- Schema Registry url
    schema.registry.url: ""
    # -- Used to resolve group.id
    group.id.pattern: "{tenant}-{instance}-{environment}-{group}"
    # -- Used to resolve topic name
    topic.pattern: "{tenant}-{instance}-{environment}-{topic}"
    # -- Used to resolve transactional.id
    transactional.id.pattern: "{tenant}-{instance}-{environment}-{transactional.id}"

Rollback

To restore the previous version you will need to restore the configuration as it was present before (resetting the Chart version and including the old initContainer configuration).