Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docu: Update opentelekomcloud_cce_addon_v3 #969

Merged
merged 1 commit into from
Apr 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/resources/cce_addon_v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,24 @@ variable "flavor_id" { }
variable "vpc_id" { }
variable "subnet_id" { }

resource opentelekomcloud_cce_cluster_v3 cluster_1 {
resource "opentelekomcloud_cce_cluster_v3" "cluster_1" {
name = "cce-cluster-1"
cluster_type = "VirtualMachine"
flavor_id = "cce.s1.small"
flavor_id = var.flavor_id
vpc_id = var.vpc_id
subnet_id = var.subnet_id
container_network_type = "overlay_l2"
kubernetes_svc_ip_range = "10.247.0.0/16"
}

resource opentelekomcloud_cce_addon_v3 addon {
resource "opentelekomcloud_cce_addon_v3" "addon" {
template_name = "metrics-server"
template_version = "1.0.3"
cluster_id = opentelekomcloud_cce_cluster_v3.cluster_1.id

values {
basic = {
euleros_version = "2.5"
rbac_enabled = true
swr_addr = "100.125.7.25:20202"
swr_user = "hwofficial"
}
Expand Down