Skip to content

Commit b6030ff

Browse files
updates
1 parent 4c8b530 commit b6030ff

File tree

6 files changed

+6
-269
lines changed

6 files changed

+6
-269
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2020
with:
21-
tag_name: "broyden_tag25"
22-
release_name: "broyden_release25"
21+
tag_name: "broyden_tag26"
22+
release_name: "broyden_release26"
2323
draft: false
2424
prerelease: false
2525

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-typescript-package",
3-
"version": "0.2.25",
3+
"version": "0.2.26",
44
"description": "",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

src/aws/aws_account_manager.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
import { KubeConfig, CoreV1Api, ApiType } from '@kubernetes/client-node';
21
import { Services } from './services';
32

43
export class AwsAccountsManager {
54
readonly Services: Services;
65
constructor() {
7-
const kc = new KubeConfig();
8-
const k8sApi: ApiType = kc.makeApiClient(CoreV1Api);
9-
this.Services = new Services(k8sApi);
6+
this.Services = new Services();
107
}
118
}

src/aws/route53 copy.ts

Lines changed: 0 additions & 130 deletions
This file was deleted.

src/aws/route53_orig.ts

Lines changed: 0 additions & 130 deletions
This file was deleted.

src/aws/services/route53.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export class Route53 {
1414
console.log("**LIST HOSTED ZONES**");
1515
const response = await this._client.send(command);
1616
const obj = response.HostedZones?.filter((obj) => obj.Name === `${hostedZoneName}.`);
17-
if (obj?.length == 1) {
18-
hostedZoneId = obj[0].Id?.split("/")[2];
17+
if (obj?.length == 1 && obj[0].Id) {
18+
hostedZoneId = obj[0].Id.split("/")[2];
1919
//console.log(id);
2020
console.log("**UPDATING HOSTED ZONE RECORDS*");
2121
//updatedHostedZoneResponse = await updateHostedZoneRecord(client, broydenHostedZoneId as string, `${subdomain}.${hostedZoneName}`, loadBalancerHostName as string, loadBalancerHostedZoneId);

0 commit comments

Comments
 (0)