Skip to content

Commit

Permalink
smtp prod nais fil
Browse files Browse the repository at this point in the history
  • Loading branch information
alpet committed Apr 5, 2024
1 parent 3919cdb commit 59f84d7
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/old-build-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,9 @@ jobs:
id-token: write
steps:
- uses: "actions/checkout@v4"
- name: "Deploy secret to DEV"
uses: "nais/deploy/actions/deploy@v1"
- name: "Deploy to DEV"
uses: "nais/deploy/actions/deploy@v1"
env:
APIKEY: "${{ secrets.NAIS_DEPLOY_APIKEY }}"
CLUSTER: "prod-fss"
RESOURCE: ".nais/ebms-send-in.yaml"
IMAGE: ${{env.IMAGE_SEND_IN}}
45 changes: 45 additions & 0 deletions .nais/smtp-listeners-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: "smtp-listeners"
namespace: "team-emottak"
labels:
"team": "team-emottak"
spec:
azure:
application:
enabled: true
webproxy: true
image: {{image}}
replicas:
min: 1
max: 1
cpuThresholdPercentage: 50
resources:
limits:
cpu: "200m"
memory: "512Mi"
requests:
cpu: "200m"
memory: "512Mi"
ingresses:
- "https://smtp-listeners.intern.dev.nav.no"
filesFrom:
- secret: cpa-sftp-keys
env:
- name: SMTP_POP3_FACTORY_PORT
value: "110"
- name: SMTP_POP3_PORT
value: "110"
- name: SMTP_POP3_HOST
value: "d32mxvl002.oera-t.local-not-in-use"
- name: SMTP_STORE_PROTOCOL
value: "pop3-not-in-use"
- name: SMTP_INCOMING_USERNAME
value: "[email protected]"
- name: SMTP_BCC_USERNAME
value: "[email protected]"
- name: SMTP_OUTGOING_USERNAME_NY
value: "[email protected]"
- name: DRY_RUN
value: "true"

0 comments on commit 59f84d7

Please sign in to comment.