title | linkTitle | weight | description |
---|---|---|---|
Install the AWS Event Cache Plugin in Spinnaker (Operator) |
Spinnaker - Operator |
2 |
Learn how to install the AWS Event Cache Plugin in a Spinnaker instance managed by the Spinnaker Operator.
|
Enabling the AWS Event Cache plugin consists of the following steps:
- You have read the AWS Event Cache [overview]({{< ref "plugins/aws-event-cache/overview/index" >}}).
- You are running open source Spinnaker.
- You manage your instance using the Spinnaker Operator and the
spinnaker-kustomize-patches
repo. If you are using Halyard, see {{< linkWithTitle "plugins/aws-event-cache/install/spinnaker-halyard.md" >}}.
{{< include "plugins/aws-event-cache/compat-matrix.md" >}}
Create an aws-event-cache-plugin.yml
file with the following contents:
apiVersion: spinnaker.io/v1alpha2
kind: SpinnakerService
metadata:
name: spinnaker
spec:
spinnakerConfig:
profiles:
spinnaker:
spinnaker:
extensibility:
repositories:
awscatsOnEvent:
version: <version>
enabled: true
url: https://raw.githubusercontent.com/armory-plugins/pluginRepository/master/repositories.json
clouddriver: &clouddriver-cats
spinnaker:
extensibility:
plugins:
Armory.AWSCATsOnEvent:
enabled: true
clouddriver-ro:
*clouddriver-cats
clouddriver-rw:
*clouddriver-cats
clouddriver-caching:
*clouddriver-cats
gate:
spinnaker:
extensibility:
plugins:
Armory.AWSCATsOnEvent:
enabled: true
Replace <version>
with the plugin version compatible with your Spinnaker version.
Save the file to your spinnaker-kustomize-patches/plugins/oss
directory.
-
Add the plugin patch to your Kustomize recipe's
patchesStrategicMerge
section. For example:{{< highlight yaml "linenos=table,hl_lines=13" >}} apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization
namespace: spinnaker
components:
- core/base
- core/persistence/in-cluster
- targets/kubernetes/default
patchesStrategicMerge:
- core/patches/oss-version.yml
- plugins/oss/aws-event-cache-plugin.yml
patches:
- target: kind: SpinnakerService path: utilities/switch-to-oss.yml {{< /highlight >}}
-
Apply the updates to your Kustomization recipe.
kubectl apply -k <kustomization-directory-path>
{{< include "plugins/aws-event-cache/create-aws-sns-subscription.md" >}}