Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upd helm chart #5

Merged
merged 14 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/code_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Code Review
uses: pagopa/github-actions-template/maven-code-review@v1.4.2
uses: pagopa/github-actions-template/maven-code-review@v1.10.4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
sonar_token: ${{ secrets.SONAR_TOKEN }}
project_key: ${{env.PROJECT_KEY}}
coverage_exclusions: "**/config/config/*,**/*Mock*,**/exception/**,**/model/**,**/entity/*,**/util/logging/*,**/repository/**"
cpd_exclusions: "**/model/**,**/entity/*"
java_version: 17

# smoke-test:
# name: Smoke Test
Expand Down
6 changes: 3 additions & 3 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v2
name: pagopa-platform-authorizer-config
description: Microservice that provides a set of APIs to manage authorization records for the Authorizer system.
type: application
version: 0.24.0
appVersion: 0.2.3
version: 0.29.0
appVersion: 0.2.3-5-upd-helm-chart
dependencies:
- name: microservice-chart
version: 1.21.0
version: 2.8.0
repository: "https://pagopa.github.io/aks-microservice-chart-blueprint"
33 changes: 12 additions & 21 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,34 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-platform-authorizer-config
tag: "0.2.3"
tag: "0.2.3-5-upd-helm-chart"
pullPolicy: Always
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: 8080
initialDelaySeconds: 90
initialDelaySeconds: 120
failureThreshold: 6
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8080
initialDelaySeconds: 90
initialDelaySeconds: 120
failureThreshold: 6
periodSeconds: 10
deployment:
create: true
service:
create: true
type: ClusterIP
port: 8080
ports:
- 8080
ingress:
create: true
host: "weudev.shared.internal.dev.platform.pagopa.it"
path: /authorizer-config/(.*)
servicePort: 8080
serviceAccount:
create: false
annotations: {}
Expand All @@ -50,7 +52,7 @@ microservice-chart:
autoscaling:
enable: true
minReplica: 1
maxReplica: 3
maxReplica: 1
pollingInterval: 10 # seconds
cooldownPeriod: 50 # seconds
triggers:
Expand All @@ -77,6 +79,9 @@ microservice-chart:
CLIENT_CONNECTION_TIMEOUT: "10000"
APICONFIG_SELFCARE_INTEGRATION_PATH: "https://api.dev.platform.pagopa.it/apiconfig-selfcare-integration/v1"
CORS_CONFIGURATION: '{"origins": ["*"], "methods": ["*"]}'
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
APP_VERSION: "metadata.labels['app.kubernetes.io/version']"
envSecret:
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-d-connection-string'
OTEL_EXPORTER_OTLP_HEADERS: 'elastic-otel-token-header'
Expand All @@ -98,21 +103,7 @@ microservice-chart:
values:
- user
canaryDelivery:
create: false
ingress:
create: false
canary:
type: header
headerName: X-Canary
headerValue: canary
weightPercent: 0
service:
create: false
deployment:
create: false
image:
repository: ghcr.io/pagopa/pagopa-platform-authorizer-config
tag: "0.2.1"
pullPolicy: Always
envConfig: {}
envSecret: {}
tag: ""
create: false
26 changes: 8 additions & 18 deletions helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-platform-authorizer-config
tag: "0.2.3"
tag: "0.2.3-5-upd-helm-chart"
pullPolicy: Always
livenessProbe:
httpGet:
Expand All @@ -25,11 +25,13 @@ microservice-chart:
service:
create: true
type: ClusterIP
port: 8080
ports:
- 8080
ingress:
create: true
host: "weuprod.shared.internal.platform.pagopa.it"
path: /authorizer-config/(.*)
servicePort: 8080
serviceAccount:
create: false
annotations: {}
Expand Down Expand Up @@ -77,6 +79,9 @@ microservice-chart:
CLIENT_CONNECTION_TIMEOUT: "10000"
APICONFIG_SELFCARE_INTEGRATION_PATH: "https://api.platform.pagopa.it/apiconfig-selfcare-integration/v1"
CORS_CONFIGURATION: '{"origins": ["*"], "methods": ["*"]}'
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
APP_VERSION: "metadata.labels['app.kubernetes.io/version']"
envSecret:
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-p-connection-string'
OTEL_EXPORTER_OTLP_HEADERS: 'elastic-otel-token-header'
Expand All @@ -98,21 +103,6 @@ microservice-chart:
values:
- user
canaryDelivery:
create: false
ingress:
create: true
canary:
type: header
headerName: X-Canary
headerValue: canary
weightPercent: 0
service:
create: true
deployment:
create: true
image:
repository: ghcr.io/pagopa/pagopa-platform-authorizer-config
tag: "0.2.1"
pullPolicy: Always
envConfig: {}
envSecret: {}
tag: ""
28 changes: 9 additions & 19 deletions helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-platform-authorizer-config
tag: "0.2.3"
tag: "0.2.3-5-upd-helm-chart"
pullPolicy: Always
livenessProbe:
httpGet:
Expand All @@ -25,11 +25,13 @@ microservice-chart:
service:
create: true
type: ClusterIP
port: 8080
ports:
- 8080
ingress:
create: true
host: "weuuat.shared.internal.uat.platform.pagopa.it"
path: /authorizer-config/(.*)
servicePort: 8080
serviceAccount:
create: false
annotations: {}
Expand All @@ -50,7 +52,7 @@ microservice-chart:
autoscaling:
enable: true
minReplica: 1
maxReplica: 3
maxReplica: 1
pollingInterval: 10 # seconds
cooldownPeriod: 50 # seconds
triggers:
Expand All @@ -77,6 +79,9 @@ microservice-chart:
CLIENT_CONNECTION_TIMEOUT: "10000"
APICONFIG_SELFCARE_INTEGRATION_PATH: "https://api.uat.platform.pagopa.it/apiconfig-selfcare-integration/v1"
CORS_CONFIGURATION: '{"origins": ["*"], "methods": ["*"]}'
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
APP_VERSION: "metadata.labels['app.kubernetes.io/version']"
envSecret:
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-u-connection-string'
OTEL_EXPORTER_OTLP_HEADERS: 'elastic-otel-token-header'
Expand All @@ -98,21 +103,6 @@ microservice-chart:
values:
- user
canaryDelivery:
create: false
ingress:
create: true
canary:
type: header
headerName: X-Canary
headerValue: canary
weightPercent: 0
service:
create: true
deployment:
create: true
image:
repository: ghcr.io/pagopa/pagopa-platform-authorizer-config
tag: "0.2.1"
pullPolicy: Always
envConfig: {}
envSecret: {}
tag: ""
Loading
Loading