ibm-ssp-cm
A Helm chart to deploy IBM Sterling Secure Proxy - Configuration Manager on a containerized platform. Documentation For additional details regarding install parameters check CM Helm Chart documentation at https://www.ibm.com/docs/en/secure-proxy/6.2.1 License By installing this product you accept the following license terms: http://www-03.ibm.com/software/sla/sladb.nsf
About this chart
IBM Sterling Secure Proxy Configuration Manager v6.2.2.0
Introduction
Configuration Manager (Sterling Secure Proxy CM)—Configuration Manager is installed in the trusted zone. Use this tool to configure your environment. When you save a configuration definition (Sterling Secure Proxy configuration store) at CM, it is pushed to an engine, using an SSL session. Configuration files are encrypted and stored on the computer where CM is installed. To find out more, see the Knowledge Center for IBM Sterling Secure Proxy CM.
Chart Details
This chart deploys IBM Sterling Secure Proxy CM on a container management platform with the following resources deployments
- a statefulset pod
<release-name>-ibm-ssp-cmwith 1 replica. - a configMap
<release-name>-ibm-ssp-cm. This is used to provide default configuration in cm_config_file. - a service
<release-name>-ibm-ssp-cm. This is used to expose the CM services for accessing using clients. - a service-account
<release-name>-ibm-ssp-cm-serviceaccount. This service will not be created ifserviceAccount.createisfalse. - a persistence volume claim
<release-name>-ibm-ssp-cm-pvc.
Prerequisites
Please refer to Planning and Pre-installation tasks section in the online Knowledge Center documentation.
SecurityContextConstraints Requirements
The IBM Sterling Secure Proxy CM chart requires an SecurityContextConstraints (SCC) to be tied to the target namespace prior to deployment. This chart defines a custom SCC which is the minimum set of permissions/capabilities needed to deploy this chart and the Sterling Secure Proxy CM container to function properly. It is based on the predefined restricted SCC with extra required privileges. This is the recommended SCC for this chart and it can be created on the cluster by cluster administrator. The SCC and cluster role for this chart is defined below. The cluster administrator can either use the snippets given below or the scripts provided in the Helm chart to create the SCC, cluster role and tie it to the project where deployment will be performed. In both the cases, same SCC and cluster role will be created. It is recommended to use the scripts in the Helm chart so that required SCC and cluster role is created without any issue.
- Custom SecurityContextConstraints definition:
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: ibm-ssp-cm-scc
labels:
app: "ibm-ssp-cm-scc"
app.kubernetes.io/instance: "ibm-ssp-cm-scc"
app.kubernetes.io/managed-by: "IBM"
app.kubernetes.io/name: "ibm-ssp-cm-scc"
allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: false
allowPrivilegedContainer: false
allowedCapabilities:
defaultAddCapabilities: null
fsGroup:
type: MustRunAs
ranges:
- min: 1
max: 4294967294
priority: 0
readOnlyRootFilesystem: false
requiredDropCapabilities:
- ALL
runAsUser:
type: MustRunAsRange
uidRangeMin: 1
uidRangeMax: 4294967294
seLinuxContext:
type: MustRunAs
seccompProfiles:
- runtime/default
supplementalGroups:
type: MustRunAs
ranges:
- min: 1
max: 4294967294
users: []
volumes:
- configMap
- downwardAPI
- emptyDir
- persistentVolumeClaim
- projected
- secret
- nfs
-
From the command line, you can run the setup scripts included under pak_extensions (untar the downloaded archive to extract the pak_extensions directory)
As a cluster admin the pre-install script is located at:
- chmod +x pre-install/clusterAdministration/createSecurityClusterPrereqs.sh
- pre-install/clusterAdministration/createSecurityClusterPrereqs.sh
As team admin the namespace scoped pre-install script is located at:
- chmod +x pre-install/namespaceAdministration/createSecurityNamespacePrereqs.sh
- pre-install/namespaceAdministration/createSecurityNamespacePrereqs.sh <Namespace/Project>
Resources Required
Please refer Verification of system requirements section in the online Knowledge Center documentation.
Agreement to IBM SSP License
You must read the IBM Sterling Secure Proxy License agreement terms before installation, using the below link: [License] http://www-03.ibm.com/software/sla/sladb.nsf (L/N: L-PMFV-WJ8UVB)
Installing the Chart
Please refer Installing section in the online Knowledge Center documentation.
Configuration
Please refer the Configuring - Understanding values.yaml section in the online Knowledge Center documentation.
Verifying the Chart
Please refer the Validating the Installation section in the online Knowledge Center documentation.
Upgrading the Chart
Please refer the Upgrade - Upgrading a Release section in the online Knowledge Center documentation.
Rollback the Chart
Please refer the Rollback - Recovering a Failure section in the online Knowledge Center documentation.
Uninstalling the Chart
Please refer the Uninstall – Uninstalling a Release section in the online Knowledge Center documentation.
Backup & Restore
To Backup:
You need to take backup of configuration data which are present in the persistent volume by following the below steps:
-
Go to mount path of Persistent Volume.
-
Make copy of all of the directories listed below and store them at your desired and secured place.
CM
Note:In case of traditional installation of Sterling Secure Proxy CM, you should take the backup of the installation directory and save them at your desired location:
CM
To Restore:
Restoring the data in new deployment, it can be achieved by following steps
-
Create a Persistent Volume.
-
Copy all the backed up directories to the mount path of Persistent Volume.
-
Create a new deployment using the helm CLI command. The pod would come up with desired data.
Exposing Services
Please refer to Exposed Services section in the online Knowledge Center documentation.
DIME and DARE
Please refer to DIME and DARE Security Considerations section in the online Knowledge Center documentation.
Limitations
- High availability and scalability are supported in traditional way of Sterling Secure Proxy CM deployment using Kubernetes load balancer service.
- IBM Sterling Secure Proxy CM chart is supported with only 1 replica count.
- IBM Sterling Secure Proxy CM chart supports only amd64 architecture.
- Non-persistence mode is not supported.
Deploy ibm-ssp-cm with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ibm-ssp-cm on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartibm-ssp-cm is pinned at v1.7.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply