Skip to content

Commit 1ea5d4d

Browse files
committed
Remove sourceignore from SOPS guide
No longer needed due to fluxcd/source-controller#329 Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
1 parent 719ef3c commit 1ea5d4d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

docs/guides/mozilla-sops.md

+1-11
Original file line numberDiff line numberDiff line change
@@ -143,23 +143,13 @@ Multiple directories can use separate SOPS configs.
143143
Contributors using the `sops` CLI to create and encrypt files
144144
won't have to worry about specifying the proper key for the target cluster or namespace.
145145

146-
`encrypted_regex` helps encrypt the the proper `data` and `stringData` fields for Secrets.
146+
`encrypted_regex` helps encrypt the `data` and `stringData` fields for Secrets.
147147
You may wish to add other fields if you are encrypting other types of Objects.
148148

149149
!!! hint
150150
Note that you should encrypt only the `data` or `stringData` section. Encrypting the Kubernetes
151151
secret metadata, kind or apiVersion is not supported by kustomize-controller.
152152

153-
Ignore all `.sops.yaml` files in a [`.sourceignore`](../components/source/gitrepositories#excluding-files)
154-
file at the root of your repo.
155-
156-
```sh
157-
touch .sourceignore
158-
echo '**/.sops.yaml' >> .sourceignore
159-
```
160-
161-
You can now commit your SOPS config.
162-
163153
## Encrypt secrets
164154

165155
Generate a Kubernetes secret manifest with kubectl:

0 commit comments

Comments
 (0)