This repo will find all k8s clusters with specific name and environment, This will be used for ci/cd on multiple clusters.
Variable | Details | Example |
---|---|---|
ENVIRONMENT | Environment Name. | staging |
CLUSTER_NAME | Cluster Name. | foodies |
GET_ALL | Flag To Get All Clusters. | true\false |
COMPARTMENT_ID | Flag To Set Oracle Compartment Id. | ocid.X |
The file excluded_cluster_list.txt is used to exclude clusters from this action's output.
In the file make sure to write the excluded clusters in the form of a list (line per cluster) and NOT separated by spaces or commas!
Good Example:
oke-test1
oke-test2
Bad example:
oke-test1, oke-test2 oke-test3
git tag x.x.x git push --tags