Skip to content

Commit

Permalink
fix: moved types
Browse files Browse the repository at this point in the history
  • Loading branch information
limwa committed Nov 9, 2024
1 parent 8713744 commit 5a37835
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions services/pulumi/niployments/resources/mongodb/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class MongoDBCommunityController<
opts?: pulumi.ComponentResourceOptions,
) {
const users = new PendingValue<
pulumi.Input<crds.types.input.mongodbcommunity.v1.MongoDBCommunitySpecUsersArgs>[]
pulumi.Input<crds.types.input.mongodbcommunity.v1.MongoDBCommunitySpecUsers>[]
>([]);

super(
Expand Down Expand Up @@ -164,7 +164,7 @@ export class MongoDBCommunityController<
name: credentialsSecret.metadata.name,
},
scramCredentialsSecretName: `${this.name}-${user.name}`,
}) satisfies crds.types.input.mongodbcommunity.v1.MongoDBCommunitySpecUsersArgs,
}) satisfies crds.types.input.mongodbcommunity.v1.MongoDBCommunitySpecUsers,
);

this.users.run((users) => users.push(userSpec));
Expand Down
2 changes: 1 addition & 1 deletion services/pulumi/niployments/resources/mongodb/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type MongoDBCommunityControllerArgs<DB extends string> = {
mdbc?: {
metadata?: Omit<k8s.types.input.meta.v1.ObjectMeta, "namespace">;
spec?: Omit<
crds.types.input.mongodbcommunity.v1.MongoDBCommunitySpecArgs,
crds.types.input.mongodbcommunity.v1.MongoDBCommunitySpec,
"users"
>;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as crds from "@pulumi/crds";
import { namespace } from "./namespace.js";
import { host } from "./values.js";

export const certificate = new crds.certmanager.v1.Certificate(
export const certificate = new crds.cert_manager.v1.Certificate(
"ementas-certificate",
{
metadata: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const backend = new TTSBackend(prefixer.create("backend"), {
const backendService = { name: backend.name, port: backend.port };

const certificateSecretName = prefixer.create("certificate-secret");
const certificate = new crds.certmanager.v1.Certificate(
const certificate = new crds.cert_manager.v1.Certificate(
prefixer.certificate(),
{
metadata: {
Expand Down
2 changes: 1 addition & 1 deletion services/pulumi/niployments/services/tts/staging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const backend = new TTSBackend(prefixer.create("backend"), {
const backendService = { name: backend.name, port: backend.port };

const certificateSecretName = prefixer.create("certificate-secret");
const certificate = new crds.certmanager.v1.Certificate(
const certificate = new crds.cert_manager.v1.Certificate(
prefixer.certificate(),
{
metadata: {
Expand Down

0 comments on commit 5a37835

Please sign in to comment.