Skip to content

Commit 694affd

Browse files
authored
Merge pull request #82 from 3pings/main
Updated Readmes
2 parents 33d2936 + 6bfcc42 commit 694affd

File tree

3 files changed

+43
-43
lines changed

3 files changed

+43
-43
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ module "terraform-intersight-iks" {
108108
# service_cidr = "100.64.0.0/24"
109109
# cni = "Calico"
110110
}
111-
# Version policy (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
112-
version_policy = {
113-
use_existing = true
114-
name = "1.19.15"
115-
# version = "1.19.15"
111+
# Version policy (To create new change "useExisting" to 'false' uncomment variables and modify them to meet your needs.)
112+
versionPolicy = {
113+
useExisting = true
114+
policyName = "1-19-15-iks.3"
115+
iksVersionName = "1.19.15-iks.3"
116116
}
117117
# Trusted Registry Policy (To create new change "use_existing" to 'false' and set "create_new' to 'true' uncomment variables and modify them to meet your needs.)
118118
# Set both variables to 'false' if this policy is not needed.

examples/complete_cluster_deployment/README.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -47,33 +47,33 @@ provider "intersight" {
4747
4848
module "iks_cluster" {
4949
source = "terraform-cisco-modules/iks/intersight//"
50-
version = "2.1.0"
50+
version = "2.1.2"
5151
52-
# Kubernetes Cluster Profile Adjust the values as needed.
52+
# Kubernetes Cluster Profile Adjust the values as needed.
5353
cluster = {
54-
name = "new_cluster"
54+
name = "test"
5555
action = "Unassign"
5656
wait_for_completion = false
57-
worker_nodes = 5
57+
worker_nodes = 2
5858
load_balancers = 5
5959
worker_max = 20
6060
control_nodes = 1
6161
ssh_user = var.ssh_user
6262
ssh_public_key = var.ssh_key
6363
}
6464
65-
# IP Pool Information (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
65+
# IP Pool Information (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
6666
ip_pool = {
67-
use_existing = true
68-
name = "10-239-21-0"
67+
use_existing = true
68+
name = "marvel-prod"
6969
# ip_starting_address = "10.239.21.220"
7070
# ip_pool_size = "20"
7171
# ip_netmask = "255.255.255.0"
7272
# ip_gateway = "10.239.21.1"
7373
# dns_servers = ["10.101.128.15","10.101.128.16"]
7474
}
7575
76-
# Sysconfig Policy (UI Reference NODE OS Configuration) (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
76+
# Sysconfig Policy (UI Reference NODE OS Configuration) (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
7777
sysconfig = {
7878
use_existing = true
7979
name = "richfield"
@@ -83,7 +83,7 @@ module "iks_cluster" {
8383
# dns_servers = ["10.101.128.15"]
8484
}
8585
86-
# Kubernetes Network CIDR (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
86+
# Kubernetes Network CIDR (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
8787
k8s_network = {
8888
use_existing = true
8989
name = "default"
@@ -93,23 +93,23 @@ module "iks_cluster" {
9393
# cni = "Calico"
9494
}
9595
96-
# Version policy (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
97-
version_policy = {
98-
use_existing = true
99-
name = "1.19.15"
100-
# version = "1.19.15"
96+
# Version policy (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
97+
versionPolicy = {
98+
useExisting = false
99+
policyName = "1.19.15"
100+
iksVersionName = "1.19.15-iks.3"
101101
}
102102
103-
# Trusted Registry Policy (To create new change "use_existing" to 'false' and set "create_new' to 'true' uncomment variables and modify them to meet your needs.)
104-
# Set both variables to 'false' if this policy is not needed.
103+
# Trusted Registry Policy (To create new change "use_existing" to 'false' and set "create_new' to 'true' uncomment variables and modify them to meet your needs.)
104+
# Set both variables to 'false' if this policy is not needed.
105105
tr_policy = {
106106
use_existing = false
107107
create_new = false
108-
name = "trusted-registry"
108+
# name = "trusted-registry"
109109
}
110110
111-
# Runtime Policy (To create new change "use_existing" to 'false' and set "create_new' to 'true' uncomment variables and modify them to meet your needs.)
112-
# Set both variables to 'false' if this policy is not needed.
111+
# Runtime Policy (To create new change "use_existing" to 'false' and set "create_new' to 'true' uncomment variables and modify them to meet your needs.)
112+
# Set both variables to 'false' if this policy is not needed.
113113
runtime_policy = {
114114
use_existing = false
115115
create_new = false
@@ -126,12 +126,12 @@ module "iks_cluster" {
126126
# https_proxy_password = null
127127
}
128128
129-
# Infrastructure Configuration Policy (To create new change "use_existing" to 'false' and uncomment variables and modify them to meet your needs.)
129+
# Infrastructure Configuration Policy (To create new change "use_existing" to 'false' and uncomment variables and modify them to meet your needs.)
130130
infraConfigPolicy = {
131131
use_existing = true
132132
# platformType = "iwe"
133133
# targetName = "falcon"
134-
policyName = "dev"
134+
policyName = "marvel-prod"
135135
# description = "Test Policy"
136136
# interfaces = ["iwe-guests"]
137137
# vcTargetName = optional(string)
@@ -141,18 +141,18 @@ module "iks_cluster" {
141141
# vcPassword = optional(string)
142142
}
143143
144-
# Addon Profile and Policies (To create new change "createNew" to 'true' and uncomment variables and modify them to meet your needs.)
145-
# This is an Optional item. Comment or remove to not use. Multiple addons can be configured.
146-
addons = [
144+
# Addon Profile and Policies (To create new change "createNew" to 'true' and uncomment variables and modify them to meet your needs.)
145+
# This is an Optional item. Comment or remove to not use. Multiple addons can be configured.
146+
addons = [
147147
{
148-
createNew = true
149-
addonPolicyName = "smm-tf"
150-
addonName = "smm"
151-
description = "SMM Policy"
152-
upgradeStrategy = "AlwaysReinstall"
153-
installStrategy = "InstallOnly"
154-
releaseVersion = "1.7.4-cisco4-helm3"
155-
overrides = yamlencode({"demoApplication":{"enabled":true}})
148+
createNew = false
149+
addonPolicyName = "smm"
150+
addonName = "smm"
151+
# description = "SMM Policy"
152+
# upgradeStrategy = "AlwaysReinstall"
153+
# installStrategy = "InstallOnly"
154+
# releaseVersion = "1.7.4-cisco4-helm3"
155+
overrides = yamlencode({ "demoApplication" : { "enabled" : true } })
156156
},
157157
# {
158158
# createNew = true
@@ -165,7 +165,7 @@ module "iks_cluster" {
165165
# }
166166
]
167167
168-
# Worker Node Instance Type (To create new change "use_existing" to 'false' and uncomment variables and modify them to meet your needs.)
168+
# Worker Node Instance Type (To create new change "use_existing" to 'false' and uncomment variables and modify them to meet your needs.)
169169
instance_type = {
170170
use_existing = true
171171
name = "small"
@@ -174,7 +174,7 @@ module "iks_cluster" {
174174
# disk_size = 40
175175
}
176176
177-
# Organization and Tag Information
177+
# Organization and Tag Information
178178
organization = var.organization
179179
tags = var.tags
180180
}

examples/version/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ provider "intersight" {
2222
endpoint = var.endpoint
2323
}
2424
25-
module "k8s_version_1-19-5" {
26-
source = "terraform-cisco-modules/iks/intersight//modules/version"
27-
k8s_version = "1.19.5"
28-
k8s_version_name = "test_1.19.5"
25+
module "k8s_version_1-19-15-iks3" {
26+
source = "terraform-cisco-modules/iks/intersight//modules/version"
27+
policyName = "1-19-15-iks.3"
28+
iksVersionName = "1.19.15-iks.3"
2929
3030
org_name = var.organization
3131
tags = var.tags

0 commit comments

Comments
 (0)