Skip to content

Commit

Permalink
integrated changes from Lionel M
Browse files Browse the repository at this point in the history
  • Loading branch information
siasin committed Nov 20, 2024
1 parent 4780aae commit f2f219e
Show file tree
Hide file tree
Showing 8 changed files with 363 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "^.secrets.baseline$",
"lines": null
},
"generated_at": "2024-11-08T08:23:37Z",
"generated_at": "2024-11-20T09:47:21Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -1408,15 +1408,15 @@
"hashed_secret": "ef0ac30957449cec0b3d5cefe691356e5c57bebe",
"is_secret": false,
"is_verified": false,
"line_number": 39,
"line_number": 38,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "08e048ce8880fd249f83a794215df8fd33e58401",
"is_secret": false,
"is_verified": false,
"line_number": 50,
"line_number": 49,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down
6 changes: 3 additions & 3 deletions platform/roks/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Deploying IBM Operational Decision Manager on Redhat Openshift Kubernetes Service on IBM Cloud aka ROKS
# Deploying IBM Operational Decision Manager on a managed OpenShift cluster on IBM Cloud

This project demonstrates how to deploy an IBM® Operational Decision Manager (ODM) clustered topology on Redhat OpenShift Kubernetes Service on IBM Cloud (ROKS), leveraging Kubernetes and Docker technologies.
This project demonstrates how to deploy an IBM® Operational Decision Manager (ODM) clustered topology on a managed OpenShift Service on IBM Cloud, also known as ROKS, leveraging Kubernetes and Docker technologies.

Redhat OpenShift is available on various cloud platforms. More details about all [these availabilities](https://www.redhat.com/en/technologies/cloud-computing/openshift#cloud-services-editions).
Red Hat OpenShift is available on various cloud platforms. More details about all [these availabilities](https://www.redhat.com/en/technologies/cloud-computing/openshift#cloud-services-editions).

This tutorial focuses on deploying ODM on the [IBM Cloud platform](https://www.redhat.com/en/technologies/cloud-computing/openshift/ibm).

Expand Down
348 changes: 348 additions & 0 deletions platform/roks/images/ibm-cloud-roks-odm.drawio

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions platform/roks/terraform/container-openshift.tf
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ resource "ibm_container_vpc_cluster" "roks_cluster" {
name = format("%s-%s", local.basename, var.openshift_cluster_name)
vpc_id = ibm_is_vpc.vpc.id
resource_group_id = local.resource_group_id
# Optional: Specify OpenShift version. If not included, 4.15 is used
kube_version = var.openshift_version == "" ? "4.15_openshift" : var.openshift_version
# Optional: Specify OpenShift version. If not included, 4.16 is used
kube_version = var.openshift_version == "" ? "4.16_openshift" : var.openshift_version
operating_system = var.openshift_os
cos_instance_crn = var.is_openshift_cluster ? ibm_resource_instance.cos_openshift_registry[0].id : null
entitlement = var.entitlement
Expand Down
8 changes: 4 additions & 4 deletions platform/roks/terraform/iam-users.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# invite the users in the account and attach them to their access group
resource "ibm_iam_user_invite" "invite_user" {
users = ["mathias.mouly@fr.ibm.com"]
access_groups = [ibm_iam_access_group.accgrp.id]
}
# resource "ibm_iam_user_invite" "invite_user" {
# users = ["firstname.lasname@fr.ibm.com"]
# access_groups = [ibm_iam_access_group.accgrp.id]
# }
7 changes: 0 additions & 7 deletions platform/roks/terraform/networking-vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ variable "create_vpc" {
default = true
}

variable "vpc_classic_access" {
description = "Classic Access to the VPC"
type = bool
default = false
}

variable "vpc_address_prefix_management" {
description = "Default address prefix creation method"
type = string
Expand Down Expand Up @@ -79,7 +73,6 @@ resource "ibm_is_vpc" "vpc" {
# Delete all rules attached to default security group and default network ACL
# for a new VPC. This attribute has no impact on update. Default = false
# no_sg_acl_rules = true
classic_access = var.vpc_classic_access
tags = var.tags
}

Expand Down
3 changes: 1 addition & 2 deletions platform/roks/terraform/odm.auto.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ region = "eu-de" # eu-de for Frankfurt MZR
##############################################################################
## VPC
##############################################################################
vpc_classic_access = false
vpc_address_prefix_management = "manual"
vpc_enable_public_gateway = true

Expand All @@ -17,7 +16,7 @@ vpc_enable_public_gateway = true
## Cluster ROKS
##############################################################################
# Optional: Specify OpenShift version. If not included, 4.15 is used
openshift_version = "4.15_openshift"
openshift_version = "4.16_openshift"
openshift_os = "RHCOS"
openshift_machine_flavor = "bx2.4x16"

Expand Down
4 changes: 2 additions & 2 deletions platform/roks/terraform/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
##############################################################################

terraform {
# required_version = ">=1.5"
required_version = ">=1.6"
required_providers {
ibm = {
source = "IBM-Cloud/ibm"
version = "1.67.1"
version = "1.71.2"
}
}
}
Expand Down

0 comments on commit f2f219e

Please sign in to comment.