Spinnaker
Spinnaker is an open-source, multi-cloud continuous delivery platform used for releasing software changes with high velocity and confidence. It is designed to work seamlessly with cloud-native technologies and supports multi-cloud environments.
Spinnaker can be integrated with Delivery Shield using any of two methods given below:
Integration using Webhook
Integration through Config changes in the Spinnaker Gitops
Prerequisites:
Delivery Shield
Spinnaker
Integration using Webhook
Delivery Shield can be integrated with Spinnaker using the webhook configuration in Spinnaker. Follow the steps given below to complete this integration process:
Add the below configuration in the default/profiles/ echo-local.yml file of the Spinnaker gitops repo.
url: Replace the SSD-UI.URL.COMPANY.COM value with your SSD UI ingress value.
eventName: Default value for this field is preview-saas-ssd. This value should be same as the queue and bindingKey value of the spinnakerConfig.yml in the supplychain-preprocessor secret in SSD. If you change this value in the supplychain-preprocessor secret, then you need to provide the same value here also.
Now restart the halyard pod of the spinnaker using the command given below:
Integration through Config changes in Spinnaker Gitops:
Few custom changes in the Spinnaker gitops repo needs to be done to push the echo events to Delivery Shield. Follow the instructions given below to update the changes in gitops repo.
Update the images mentioned below in the bom file of the gitops repo. In case if you are not using the bom file then update the images in the default/service-settings/echo-*.yml and deck.yml files.
Add the below configuration at the root level in the default/profiles/echo-local.yml file.
message-broker.endpoint.name: Provide a name for the RabbitMQ connection. Default value is rabbitmq.
message-broker.username: Provide the SSD RabbitMQ username.
message-broker.password: Provide the SSD RabbitMQ password.
message-broker.host: Provide the SSD RabbitMQ host details. If the SSD is hosted in a different cluster then give external IP address or DNS value of that service.
message-broker.port: Provide the rabbitmq-service port number. Default value is 5672.
ssd.name: Default value is preview-saas-ssd. This value should be same as queue and bindingKey value of spinnakerConfig.yml in supplychain-preprocessor secret in SSD. If you change this value in supplychain-preprocessor secret, then you need to provide the same value here also.
Now restart the halyard pod of the spinnaker using the command given below:
Adding container labels in Deployment files
Once Spinnaker is integrated, add the below mentioned container labels in the deployments files used by the pipelines of spinnaker.
TroubleShooting:
If you face any issues while integrating Spinnaker to Delivery Shield, feel free to contact OpsMx support team.
Last updated