Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions secret-management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Red Hat ACM Namespace channel has a special secret feature. This takes a secret
This defines the Application object that groups all the subscriptions you want to use to distribute your secrets together.

### channel.yaml
This defines a namespace `my-secrets-ch` where you are exptect to create the secrets you want to distrbute. The channel name will be `my-secret`, so the channel path you define in the subscription is `NAMESPACE/SECRET` or `my-secrets-ch/my-secret`.
This defines a namespace `my-secrets-ch` where you are expected to create the secrets you want to distribute. The channel name will be `my-secret`, so the channel path you define in the subscription is `NAMESPACE/SECRET` or `my-secrets-ch/my-secret`.

### placement.yaml
This defines the target clusters where you want your secret(s) delivered. You can have one placement rule or many. Placement rules can be shared between subscriptions. You can modify the labelSelector or the MatchExpression to define the target clusters.
Expand Down Expand Up @@ -41,4 +41,4 @@ metadata:
```

### Note Important
Your secrets need the `aps.open-cluster-management.io/deployables` annotation to be delivered. To filter out which secrets to deliver, use a unique key and value pair for the `packageFilter` on the Subscription.
Your secrets need the `apps.open-cluster-management.io/deployables` annotation to be delivered. To filter out which secrets to deliver, use a unique key and value pair for the `packageFilter` on the Subscription.
2 changes: 1 addition & 1 deletion secret-management/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ resources:
- channel.yaml
- placement.yaml
- subscription.yaml
- secrets.yaml
- secret.yaml
1 change: 1 addition & 0 deletions secret-management/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
name: hive43-aws-test-install-config
namespace: my-secrets-ch
annotations:
apps.open-cluster-management.io/deployables: "secret"
secretname: my-secret
Expand Down