Skip to content

Commit

Permalink
fix(config): Fix typings for SpinnakerSettings (#7556)
Browse files Browse the repository at this point in the history
- add pubsub in notifications
- add disableManualOidcDialog in amazon loadBalancers
  • Loading branch information
christopherthielen authored and mergify[bot] committed Oct 24, 2019
1 parent 727300d commit 230ffb5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
3 changes: 2 additions & 1 deletion app/scripts/modules/amazon/src/aws.settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ export interface IAWSProviderSettings extends IProviderSettings {
};
defaultSecurityGroups?: string[];
loadBalancers?: {
inferInternalFlagFromSubnet: boolean;
certificateTypes?: string[];
disableManualOidcDialog?: boolean;
inferInternalFlagFromSubnet: boolean;
};
useAmiBlockDeviceMappings?: boolean;
classicLaunchLockout?: number;
Expand Down
27 changes: 8 additions & 19 deletions app/scripts/modules/core/src/config/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,19 @@ export interface IAdditionalHelpLinks {
}

export interface IProviderSettings {
bakeryRegions?: string[];
defaults: any;
resetToOriginal?: () => void;
}

export interface INotificationSettings {
email: {
enabled: boolean;
};
bearychat: {
enabled: boolean;
};
googlechat: {
enabled: boolean;
};
sms: {
enabled: boolean;
};
slack: {
botName: string;
enabled: boolean;
};
githubStatus: {
enabled: boolean;
};
bearychat: { enabled: boolean };
email: { enabled: boolean };
githubStatus: { enabled: boolean };
googlechat: { enabled: boolean };
pubsub: { enabled: boolean };
slack: { botName: string; enabled: boolean };
sms: { enabled: boolean };
}

export interface IFeatures {
Expand Down

0 comments on commit 230ffb5

Please sign in to comment.