Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Add missing acme stuff

Fang-Pen Lindd30028c5dc2
diff --git a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx
index 4395dbb9d5..2e1705f17d 100644
--- a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx
+++ b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx
@@ -438,12 +438,16 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }
disableBootstrapCaValidation: false,
passphrase: ""
});
- } else {
+ } else if (value === "api") {
setValue("estConfig", undefined);
setValue("apiConfig", {
autoRenew: false,
renewBeforeDays: 30
});
+ } else if (value === "acme") {
+ setValue("apiConfig", undefined);
+ setValue("estConfig", undefined);
+ setValue("acmeConfig", {});
}
onChange(value);
}}