-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Defininig ES users in vault. Avoiding ArgoCD issues with random gener…
…ated passwords in helm templates
- Loading branch information
Showing
8 changed files
with
82 additions
and
26 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
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
32 changes: 32 additions & 0 deletions
32
argocd/system/logging/templates/elasticsearch-fluentd-externalsecret.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,32 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: elasticsearch-fluentd-externalsecret | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
secretStoreRef: | ||
name: vault-backend | ||
kind: ClusterSecretStore | ||
target: | ||
name: es-fluentd-user-file-realm | ||
template: | ||
type: kubernetes.io/basic-auth | ||
data: | ||
username: |- | ||
{{ `{{ .username | toString }}` }} | ||
password: |- | ||
{{ `{{ .password | toString }}` }} | ||
roles: fluentd_role | ||
data: | ||
- secretKey: username | ||
remoteRef: | ||
key: logging/es-fluentd | ||
property: user | ||
conversionStrategy: Default # ArgoCD sync issue | ||
decodingStrategy: None # ArgoCD sync issue | ||
- secretKey: password | ||
remoteRef: | ||
key: logging/es-fluentd | ||
property: password | ||
conversionStrategy: Default # ArgoCD sync issue | ||
decodingStrategy: None # ArgoCD sync issue |
11 changes: 0 additions & 11 deletions
11
argocd/system/logging/templates/elasticsearch-fluentd-secret.yaml
This file was deleted.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
argocd/system/logging/templates/elasticsearch-prometheus-externalsecret.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,32 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: elasticsearch-fluentd-externalsecret | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
secretStoreRef: | ||
name: vault-backend | ||
kind: ClusterSecretStore | ||
target: | ||
name: es-fluentd-user-file-realm | ||
template: | ||
type: kubernetes.io/basic-auth | ||
data: | ||
username: |- | ||
{{ `{{ .username | toString }}` }} | ||
password: |- | ||
{{ `{{ .password | toString }}` }} | ||
roles: prometheus_role | ||
data: | ||
- secretKey: username | ||
remoteRef: | ||
key: logging/es-prometheus | ||
property: user | ||
conversionStrategy: Default # ArgoCD sync issue | ||
decodingStrategy: None # ArgoCD sync issue | ||
- secretKey: password | ||
remoteRef: | ||
key: logging/es-prometheus | ||
property: password | ||
conversionStrategy: Default # ArgoCD sync issue | ||
decodingStrategy: None # ArgoCD sync issue |
11 changes: 0 additions & 11 deletions
11
argocd/system/logging/templates/elasticsearch-prometheus-secret.yaml
This file was deleted.
Oops, something went wrong.