[SM-1305] Add Kubernetes and Rust to the integrations page (#9611)

* Add Kubernetes and Rust to the integrations page

* Fix integrations page tests
This commit is contained in:
Robyn MacCallum 2024-06-14 16:54:52 -04:00 committed by GitHub
parent 0dd476588d
commit afe9a1768a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 131 additions and 2 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -0,0 +1,48 @@
<svg width="115" height="111" viewBox="0 0 115 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_211_1957)">
<path d="M48.25 41.7206H62.3971C71.1029 41.7206 71.1029 50.4265 62.3971 50.4265H48.25V41.7206ZM14.5147 81.9853H58.0441V70.0147H48.25V61.3088H59.1324C71.1029 61.3088 64.5735 81.9853 74.3676 81.9853H101.574V61.3088H95.0441V63.4853C95.0441 72.1912 85.25 71.1029 84.1618 65.6618C83.0735 60.2206 78.7206 55.8676 77.6324 55.8676C93.9559 47.1618 84.1618 29.75 71.1029 29.75H19.9559V41.7206H30.8382V70.0147H14.5147V81.9853Z" fill="white" stroke="white" stroke-linejoin="round"/>
<path d="M57.5 104.294C83.3437 104.294 104.294 83.3437 104.294 57.5C104.294 31.6563 83.3437 10.7059 57.5 10.7059C31.6563 10.7059 10.7059 31.6563 10.7059 57.5C10.7059 83.3437 31.6563 104.294 57.5 104.294Z" stroke="white" stroke-width="9"/>
<path d="M107.559 60.7647L113 57.5L107.559 54.2353V60.7647Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M105.96 70.468L111.934 68.3275L107.234 64.064L105.96 70.468Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M102.499 79.6729L108.775 78.7389L104.998 73.6405L102.499 79.6729Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M97.3086 88.0257L103.647 88.3341L100.936 82.5967L97.3086 88.0257Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M90.5885 95.2054L96.7444 96.7444L95.2054 90.5884L90.5885 95.2054Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M82.5967 100.936L88.3341 103.647L88.0257 97.3086L82.5967 100.936Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M73.6405 104.998L78.7389 108.775L79.6729 102.499L73.6405 104.998Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M64.064 107.234L68.3275 111.934L70.468 105.96L64.064 107.234Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M54.2353 107.559L57.5 113L60.7647 107.559H54.2353Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M44.532 105.96L46.6725 111.934L50.936 107.234L44.532 105.96Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M35.3271 102.499L36.2611 108.775L41.3595 104.998L35.3271 102.499Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M26.9743 97.3086L26.6659 103.647L32.4033 100.936L26.9743 97.3086Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M19.7946 90.5884L18.2556 96.7444L24.4116 95.2054L19.7946 90.5884Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M14.0639 82.5967L11.3535 88.3342L17.6914 88.0257L14.0639 82.5967Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M10.0023 73.6405L6.2247 78.7389L12.501 79.6729L10.0023 73.6405Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M7.76609 64.064L3.06638 68.3275L9.03992 70.468L7.76609 64.064Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M7.44116 54.2353L1.99999 57.5L7.44116 60.7647L7.44116 54.2353Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M9.03994 44.532L3.0664 46.6725L7.76611 50.936L9.03994 44.532Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M12.5011 35.3271L6.22474 36.2611L10.0024 41.3595L12.5011 35.3271Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M17.6914 26.9743L11.3534 26.6659L14.0638 32.4033L17.6914 26.9743Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M24.4115 19.7946L18.2556 18.2556L19.7946 24.4116L24.4115 19.7946Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M32.4033 14.0639L26.6659 11.3535L26.9743 17.6914L32.4033 14.0639Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M41.3595 10.0023L36.2611 6.2247L35.3271 12.501L41.3595 10.0023Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M50.936 7.76609L46.6725 3.06638L44.532 9.03992L50.936 7.76609Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M60.7647 7.44116L57.5 1.99999L54.2353 7.44116L60.7647 7.44116Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M70.468 9.03994L68.3275 3.0664L64.064 7.76611L70.468 9.03994Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M79.6729 12.5011L78.7389 6.22474L73.6405 10.0024L79.6729 12.5011Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M88.0257 17.6914L88.3341 11.3534L82.5967 14.0638L88.0257 17.6914Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M95.2054 24.4115L96.7444 18.2556L90.5884 19.7946L95.2054 24.4115Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M100.936 32.4033L103.647 26.6659L97.3086 26.9743L100.936 32.4033Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M104.998 41.3595L108.775 36.2611L102.499 35.3271L104.998 41.3595Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M107.234 50.936L111.934 46.6725L105.96 44.532L107.234 50.936Z" fill="white" stroke="white" stroke-width="3" stroke-linejoin="round"/>
<path d="M49.8823 11.7941L57.5 19.4118L65.1176 11.7941H49.8823Z" fill="white" stroke="white" stroke-width="6" stroke-linejoin="round"/>
<path d="M98.6149 36.1313L93.724 45.7301L103.323 50.6209L98.6149 36.1313Z" fill="white" stroke="white" stroke-width="6" stroke-linejoin="round"/>
<path d="M90.5281 89.9993L79.8877 88.314L78.2025 98.9544L90.5281 89.9993Z" fill="white" stroke="white" stroke-width="6" stroke-linejoin="round"/>
<path d="M36.7975 98.9544L35.1123 88.314L24.4719 89.9993L36.7975 98.9544Z" fill="white" stroke="white" stroke-width="6" stroke-linejoin="round"/>
<path d="M11.6771 50.6209L21.2759 45.7301L16.3851 36.1313L11.6771 50.6209Z" fill="white" stroke="white" stroke-width="6" stroke-linejoin="round"/>
</g>
<defs>
<clipPath id="clip0_211_1957">
<rect width="115" height="111" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -0,0 +1,48 @@
<svg width="115" height="111" viewBox="0 0 115 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_211_1957)">
<path d="M48.25 41.7206H62.3971C71.1029 41.7206 71.1029 50.4265 62.3971 50.4265H48.25V41.7206ZM14.5147 81.9853H58.0441V70.0147H48.25V61.3088H59.1324C71.1029 61.3088 64.5735 81.9853 74.3676 81.9853H101.574V61.3088H95.0441V63.4853C95.0441 72.1912 85.25 71.1029 84.1618 65.6618C83.0735 60.2206 78.7206 55.8676 77.6324 55.8676C93.9559 47.1618 84.1618 29.75 71.1029 29.75H19.9559V41.7206H30.8382V70.0147H14.5147V81.9853Z" fill="black" stroke="black" stroke-linejoin="round"/>
<path d="M57.5 104.294C83.3437 104.294 104.294 83.3437 104.294 57.5C104.294 31.6563 83.3437 10.7059 57.5 10.7059C31.6563 10.7059 10.7059 31.6563 10.7059 57.5C10.7059 83.3437 31.6563 104.294 57.5 104.294Z" stroke="black" stroke-width="9"/>
<path d="M107.559 60.7647L113 57.5L107.559 54.2353V60.7647Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M105.96 70.468L111.934 68.3275L107.234 64.064L105.96 70.468Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M102.499 79.6729L108.775 78.7389L104.998 73.6405L102.499 79.6729Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M97.3086 88.0257L103.647 88.3341L100.936 82.5967L97.3086 88.0257Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M90.5885 95.2054L96.7444 96.7444L95.2054 90.5884L90.5885 95.2054Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M82.5967 100.936L88.3341 103.647L88.0257 97.3086L82.5967 100.936Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M73.6405 104.998L78.7389 108.775L79.6729 102.499L73.6405 104.998Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M64.064 107.234L68.3275 111.934L70.468 105.96L64.064 107.234Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M54.2353 107.559L57.5 113L60.7647 107.559H54.2353Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M44.532 105.96L46.6725 111.934L50.936 107.234L44.532 105.96Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M35.3271 102.499L36.2611 108.775L41.3595 104.998L35.3271 102.499Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M26.9743 97.3086L26.6659 103.647L32.4033 100.936L26.9743 97.3086Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M19.7946 90.5884L18.2556 96.7444L24.4116 95.2054L19.7946 90.5884Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M14.0639 82.5967L11.3535 88.3342L17.6914 88.0257L14.0639 82.5967Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M10.0023 73.6405L6.2247 78.7389L12.501 79.6729L10.0023 73.6405Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M7.76609 64.064L3.06638 68.3275L9.03992 70.468L7.76609 64.064Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M7.44116 54.2353L1.99999 57.5L7.44116 60.7647L7.44116 54.2353Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M9.03994 44.532L3.0664 46.6725L7.76611 50.936L9.03994 44.532Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M12.5011 35.3271L6.22474 36.2611L10.0024 41.3595L12.5011 35.3271Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M17.6914 26.9743L11.3534 26.6659L14.0638 32.4033L17.6914 26.9743Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M24.4115 19.7946L18.2556 18.2556L19.7946 24.4116L24.4115 19.7946Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M32.4033 14.0639L26.6659 11.3535L26.9743 17.6914L32.4033 14.0639Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M41.3595 10.0023L36.2611 6.2247L35.3271 12.501L41.3595 10.0023Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M50.936 7.76609L46.6725 3.06638L44.532 9.03992L50.936 7.76609Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M60.7647 7.44116L57.5 1.99999L54.2353 7.44116L60.7647 7.44116Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M70.468 9.03994L68.3275 3.0664L64.064 7.76611L70.468 9.03994Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M79.6729 12.5011L78.7389 6.22474L73.6405 10.0024L79.6729 12.5011Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M88.0257 17.6914L88.3341 11.3534L82.5967 14.0638L88.0257 17.6914Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M95.2054 24.4115L96.7444 18.2556L90.5884 19.7946L95.2054 24.4115Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M100.936 32.4033L103.647 26.6659L97.3086 26.9743L100.936 32.4033Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M104.998 41.3595L108.775 36.2611L102.499 35.3271L104.998 41.3595Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M107.234 50.936L111.934 46.6725L105.96 44.532L107.234 50.936Z" fill="black" stroke="black" stroke-width="3" stroke-linejoin="round"/>
<path d="M49.8823 11.7941L57.5 19.4118L65.1176 11.7941H49.8823Z" fill="black" stroke="black" stroke-width="6" stroke-linejoin="round"/>
<path d="M98.6149 36.1313L93.724 45.7301L103.323 50.6209L98.6149 36.1313Z" fill="black" stroke="black" stroke-width="6" stroke-linejoin="round"/>
<path d="M90.5281 89.9993L79.8877 88.314L78.2025 98.9544L90.5281 89.9993Z" fill="black" stroke="black" stroke-width="6" stroke-linejoin="round"/>
<path d="M36.7975 98.9544L35.1123 88.314L24.4719 89.9993L36.7975 98.9544Z" fill="black" stroke="black" stroke-width="6" stroke-linejoin="round"/>
<path d="M11.6771 50.6209L21.2759 45.7301L16.3851 36.1313L11.6771 50.6209Z" fill="black" stroke="black" stroke-width="6" stroke-linejoin="round"/>
</g>
<defs>
<clipPath id="clip0_211_1957">
<rect width="115" height="111" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -8180,12 +8180,18 @@
"setUpGithubActions": {
"message": "Set up Github Actions"
},
"setUpKubernetes": {
"message": "Set up Kubernetes"
},
"setUpGitlabCICD": {
"message": "Set up GitLab CI/CD"
},
"setUpAnsible": {
"message": "Set up Ansible"
},
"rustSDKRepo": {
"message": "View Rust repository"
},
"cSharpSDKRepo": {
"message": "View C# repository"
},

View File

@ -68,10 +68,10 @@ describe("IntegrationsComponent", () => {
(integrationList.componentInstance as IntegrationGridComponent).integrations.map(
(i) => i.name,
),
).toEqual(["GitHub Actions", "GitLab CI/CD", "Ansible"]);
).toEqual(["GitHub Actions", "GitLab CI/CD", "Ansible", "Kubernetes Operator"]);
expect(
(sdkList.componentInstance as IntegrationGridComponent).integrations.map((i) => i.name),
).toEqual(["C#", "C++", "Go", "Java", "JS WebAssembly", "php", "Python", "Ruby"]);
).toEqual(["Rust", "C#", "C++", "Go", "Java", "JS WebAssembly", "php", "Python", "Ruby"]);
});
});

View File

@ -14,6 +14,14 @@ export class IntegrationsComponent {
constructor(i18nService: I18nService) {
this.integrationsAndSdks = [
{
name: "Rust",
linkText: i18nService.t("rustSDKRepo"),
linkURL: "https://github.com/bitwarden/sdk",
image: "../../../../../../../images/secrets-manager/sdks/rust.svg",
imageDarkMode: "../../../../../../../images/secrets-manager/sdks/rust-white.svg",
type: IntegrationType.SDK,
},
{
name: "GitHub Actions",
linkText: i18nService.t("setUpGithubActions"),
@ -94,6 +102,14 @@ export class IntegrationsComponent {
image: "../../../../../../../images/secrets-manager/sdks/ruby.png",
type: IntegrationType.SDK,
},
{
name: "Kubernetes Operator",
linkText: i18nService.t("setUpKubernetes"),
linkURL: "https://bitwarden.com/help/secrets-manager-kubernetes-operator/",
image: "../../../../../../../images/secrets-manager/integrations/kubernetes.svg",
type: IntegrationType.Integration,
newBadgeExpiration: "2024-8-12",
},
];
}