generated from clouddrove/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: The argument "addonanme_manifests" is required, but no definitio…
…n was found. (#17) feat: Updated Readme.md
- Loading branch information
1 parent
ffc4d1d
commit fe130f6
Showing
30 changed files
with
211 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
_examples/basic/config/external-secret/external-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: external-secret # -- Provide external secret name | ||
namespace: kube-system # -- Do not change this namespace field | ||
spec: | ||
refreshInterval: 1h | ||
secretStoreRef: | ||
name: external-secrets-store # -- Provide previously created secret store name | ||
kind: SecretStore | ||
target: | ||
name: externalsecret-data # -- Name of secret which will contain data specified below | ||
creationPolicy: Owner | ||
data: | ||
- secretKey: do_not_delete_this_key # -- AWS Secret-Manager secret key | ||
remoteRef: | ||
key: addon-external_secrets # -- Same as 'externalsecrets_manifest["secret_manager_name"] | ||
property: do_not_delete_this_key # -- AWS Secret-Manager secret key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: SecretStore | ||
metadata: | ||
name: external-secrets-store # -- Provide secret store name | ||
namespace: kube-system # -- Do not change this namespace name | ||
spec: | ||
provider: | ||
aws: | ||
service: SecretsManager | ||
region: us-east-1 # -- Provoide your cluster region | ||
auth: | ||
jwt: | ||
serviceAccountRef: | ||
name: external-secrets-sa # -- Do not change this name field |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: ubuntu-pod | ||
namespace: kube-system # -- keep this namespace same as ExternalSecret namespace | ||
labels: | ||
app: ubuntu-pod | ||
spec: | ||
containers: | ||
- image: ubuntu | ||
command: | ||
- "sleep" | ||
- "604800" | ||
imagePullPolicy: IfNotPresent | ||
name: ubuntu-pod | ||
env: | ||
- name: USER_1 # -- Environment variable of pod | ||
valueFrom: | ||
secretKeyRef: | ||
name: externalsecret-data # -- kubernetes secret name | ||
key: do_not_delete_this_key # -- Same as spec.data.secretKey field of ExternalSecret | ||
optional: false | ||
restartPolicy: Always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
addons/external-secrets/config/external-secret/external-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: external-secret # -- Provide external secret name | ||
namespace: kube-system # -- Do not change this namespace field | ||
spec: | ||
refreshInterval: 1h | ||
secretStoreRef: | ||
name: external-secrets-store # -- Provide previously created secret store name | ||
kind: SecretStore | ||
target: | ||
name: externalsecret-data # -- Name of secret which will contain data specified below | ||
creationPolicy: Owner | ||
data: | ||
- secretKey: do_not_delete_this_key # -- AWS Secret-Manager secret key | ||
remoteRef: | ||
key: addon-external_secrets # -- Same as 'externalsecrets_manifest["secret_manager_name"] | ||
property: do_not_delete_this_key # -- AWS Secret-Manager secret key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
addons/external-secrets/config/external-secret/secret-store.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: SecretStore | ||
metadata: | ||
name: external-secrets-store # -- Provide secret store name | ||
namespace: kube-system # -- Do not change this namespace name | ||
spec: | ||
provider: | ||
aws: | ||
service: SecretsManager | ||
region: us-east-1 # -- Provoide your cluster region | ||
auth: | ||
jwt: | ||
serviceAccountRef: | ||
name: external-secrets-sa # -- Do not change this name field |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: ubuntu-pod | ||
namespace: kube-system # -- keep this namespace same as ExternalSecret namespace | ||
labels: | ||
app: ubuntu-pod | ||
spec: | ||
containers: | ||
- image: ubuntu | ||
command: | ||
- "sleep" | ||
- "604800" | ||
imagePullPolicy: IfNotPresent | ||
name: ubuntu-pod | ||
env: | ||
- name: USER_1 # -- Environment variable of pod | ||
valueFrom: | ||
secretKeyRef: | ||
name: externalsecret-data # -- kubernetes secret name | ||
key: do_not_delete_this_key # -- Same as spec.data.secretKey field of ExternalSecret | ||
optional: false | ||
restartPolicy: Always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.