Compare commits

...

3 Commits

Author SHA1 Message Date
Gil Portenseigne aad46d0bee ajout des config auth aws 2024-04-12 09:24:00 +02:00
Gil Portenseigne f30297a03e Ajout alias login infra kube 2024-04-12 09:24:00 +02:00
Gil Portenseigne 85595a0e90 ajout mailing liste 2024-04-12 09:24:00 +02:00
3 changed files with 18 additions and 0 deletions

13
.aws/config 100644
View File

@ -0,0 +1,13 @@
[profile production]
sso_start_url = https://decathlon.awsapps.com/start/
sso_region = eu-west-1
region = eu-west-1
sso_role_name = DKTDevOpsRole
sso_account_id = 854940831191
[profile staging]
sso_start_url = https://decathlon.awsapps.com/start/
sso_region = eu-west-1
region = eu-west-1
sso_role_name = DKTDevOpsRole
sso_account_id = 469022461258

View File

@ -16,6 +16,8 @@ alias k="kubectl"
alias kns="kubens"
alias kctx="kubectx"
alias fluxUp="flux reconcile source git flux-system"
alias kprod="export AWS_PROFILE='production' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-production"
alias kstage="export AWS_PROFILE='staging' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-staging"
alias tp="ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"
alias tn="ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"

View File

@ -19,6 +19,9 @@ set postponed = "+Drafts"
set trash = "+Trash"
set record = "+Sent"
subscribe dev@ofbiz.apache.org
subscribe user@ofbiz.apache.org
macro index o "<shell-escape>.local/bin/mailsync gil.portenseigne@nereide.fr &<enter>" "sync gil.portenseigne@nereide.fr"
macro index \Ca "<delete-pattern> ~C nereide.ovh<enter><sync-mailbox>" "suppression mails nereide.ovh"
mailboxes "=INBOX" "=Drafts" "=Trash" "=Sent" "=Corbeille" "=Junk" "=Archives"