sassoftware / viya4-deployment

This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71 stars 64 forks source link

fix: (IAC-742) Lookup cluster K8S version information from within DAC #310

Closed dhoucgitter closed 2 years ago

dhoucgitter commented 2 years ago

Changes

Instead of pulling the K8S server version information from an output passed in from tfstate, query the K8s server version from within DAC to remove a dependency on IAC to provide it in the AWS provider, or other providers in the future. This change should allow viya4-iac-aws releases prior to 5.2.0 to work with the latest DAC release just as before.

Tests

Verification of this update will be run against clusters created by each IAC project. Internal ticket comments contain dev test results with this update run against clusters created by all four IAC projects.

dhoucgitter commented 2 years ago

Debug output removed and a string filter was added to trim the trailing plus sign that showed up when tested against the AWS cluster.

dhoucgitter commented 2 years ago

Expect to hold off on merging this until after the 5.6.0 release.