Skip to content

Commit

Permalink
fix gh check
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks committed Dec 20, 2024
1 parent b0be310 commit f7b3c2e
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
3 changes: 2 additions & 1 deletion test/contexts/airbyte.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cluster: mgmt
stackCluster: mgmt
cloud: aws
bucket: plrl-airbyte-logs
hostname: airbyte.plural.sh
region: us-east-2
region: us-east-2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
name: infra
namespace: infra
configuration:
hostname: airbyte.plrl-dev-aws.onplural.sh
hostname: airbyte.plural.sh
clusterRef:
kind: Cluster
name: mgmt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ spec:
namespace: apps
configuration:
cluster: mgmt
hostname: airbyte.plrl-dev-aws.onplural.sh
bucket: plrl-catalog-airbyte-1
hostname: airbyte.plural.sh
bucket: plrl-airbyte-logs
region: us-east-2
clusterRef:
kind: Cluster
name: mgmt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
namespace: apps
configuration:
cluster: mgmt
hostname: airbyte.plrl-dev-aws.onplural.sh
hostname: airbyte.plural.sh
clusterRef:
kind: Cluster
name: mgmt
Expand Down
2 changes: 1 addition & 1 deletion test/outputs/helm/airbyte/mgmt/airbyte.yaml.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ global:
type: S3
storageSecretName: airbyte-airbyte-secrets
s3:
region: us-east-2
region: {{ configuration.region }}
authenticationType: credentials
accessKeyId: {{ imports[imports_airbyte_key].access_key_id }}
accessKeyIdSecretKey: AWS_ACCESS_KEY_ID
Expand Down
6 changes: 3 additions & 3 deletions test/outputs/terraform/apps/airbyte/mgmt/oidc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ resource "random_password" "oidc_cookie" {
}

resource "plural_oidc_provider" "airbyte" {
name = "airbyte-{{ context.cluster }}"
name = "airbyte-mgmt"
auth_method = "BASIC"
type = "PLURAL"
description = "OIDC provider for airbyte deployed to the {{ context.cluster }} cluster"
redirect_uris = ["https://{{ context.hostname }}/oauth2/callback"]
description = "OIDC provider for airbyte deployed to the mgmt cluster"
redirect_uris = ["https://airbyte.plrl-dev-aws.onplural.sh/oauth2/callback"]
}
8 changes: 4 additions & 4 deletions test/outputs/terraform/apps/airbyte/mgmt/variables.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
variable "cluster_name" {
type = string
default = "{{ context.cluster }}"
default = "mgmt"
}

variable "airbyte_bucket" {
type = string
default = "{{ context.bucket }}"
default = "plrl-airbyte-logs"
}

variable "force_destroy_bucket" {
Expand All @@ -15,7 +15,7 @@ variable "force_destroy_bucket" {
}

variable "db_name" {
default = "plrl-{{ context.cluster }}-airbyte"
default = "plrl-mgmt-airbyte"
}

variable "postgres_vsn" {
Expand All @@ -38,4 +38,4 @@ variable "backup_retention_period" {

variable "db_instance_class" {
default = "db.t4g.large"
}
}
4 changes: 2 additions & 2 deletions test/outputs/terraform/apps/airbyte/mgmt/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ terraform {
provider "plural" {}

provider "aws" {
region = "{{ context.region }}"
}
region = "us-east-2"
}

0 comments on commit f7b3c2e

Please sign in to comment.