Skip to content

Commit

Permalink
settings: add pki settings extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsharm committed May 20, 2024
1 parent 97c9b5f commit d8fee2a
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 34 deletions.
1 change: 1 addition & 0 deletions sources/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sources/models/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ settings-extension-container-registry = { path = "../settings-extensions/contain
settings-extension-kernel = { path = "../settings-extensions/kernel", version = "0.1" }
settings-extension-motd = { path = "../settings-extensions/motd", version = "0.1" }
settings-extension-ntp = { path = "../settings-extensions/ntp", version = "0.1" }
settings-extension-pki = { path = "../settings-extensions/pki", version = "0.1" }
settings-extension-updates = { path = "../settings-extensions/updates", version = "0.1" }

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-dev/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashMap;

use crate::{
BootSettings, BootstrapContainer, CloudFormationSettings, DnsSettings, HostContainer,
MetricsSettings, NetworkSettings, OciHooks, PemCertificate,
MetricsSettings, NetworkSettings, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -21,7 +21,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_hooks: OciHooks,
cloudformation: CloudFormationSettings,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-ecs-1-nvidia/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashMap;

use crate::{
AutoScalingSettings, BootstrapContainer, CloudFormationSettings, DnsSettings, ECSSettings,
HostContainer, MetricsSettings, NetworkSettings, OciDefaults, OciHooks, PemCertificate,
HostContainer, MetricsSettings, NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -21,7 +21,7 @@ struct Settings {
aws: settings_extension_aws::AwsSettingsV1,
ecs: ECSSettings,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-ecs-1/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashMap;

use crate::{
AutoScalingSettings, BootstrapContainer, CloudFormationSettings, DnsSettings, ECSSettings,
HostContainer, MetricsSettings, NetworkSettings, OciDefaults, OciHooks, PemCertificate,
HostContainer, MetricsSettings, NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -21,7 +21,7 @@ struct Settings {
aws: settings_extension_aws::AwsSettingsV1,
ecs: ECSSettings,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
3 changes: 1 addition & 2 deletions sources/models/src/aws-ecs-2-nvidia/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use std::collections::HashMap;
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, DnsSettings,
ECSSettings, HostContainer, MetricsSettings, NetworkSettings, OciDefaults, OciHooks,
PemCertificate,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +22,7 @@ struct Settings {
aws: settings_extension_aws::AwsSettingsV1,
ecs: ECSSettings,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
3 changes: 1 addition & 2 deletions sources/models/src/aws-ecs-2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use std::collections::HashMap;
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings, DnsSettings,
ECSSettings, HostContainer, MetricsSettings, NetworkSettings, OciDefaults, OciHooks,
PemCertificate,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +22,7 @@ struct Settings {
aws: settings_extension_aws::AwsSettingsV1,
ecs: ECSSettings,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-k8s-1.24-nvidia/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings,
ContainerRuntimeSettings, DnsSettings, HostContainer, KubernetesSettings, MetricsSettings,
NetworkSettings, OciDefaults, OciHooks, PemCertificate,
NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +23,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-k8s-1.24/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings,
ContainerRuntimeSettings, DnsSettings, HostContainer, KubernetesSettings, MetricsSettings,
NetworkSettings, OciDefaults, OciHooks, PemCertificate,
NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +23,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-k8s-1.25-nvidia/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings,
ContainerRuntimeSettings, DnsSettings, HostContainer, KubernetesSettings, MetricsSettings,
NetworkSettings, OciDefaults, OciHooks, PemCertificate,
NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +23,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-k8s-1.25/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings,
ContainerRuntimeSettings, DnsSettings, HostContainer, KubernetesSettings, MetricsSettings,
NetworkSettings, OciDefaults, OciHooks, PemCertificate,
NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +23,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-k8s-1.26-nvidia/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings,
ContainerRuntimeSettings, DnsSettings, HostContainer, KubernetesSettings, MetricsSettings,
NetworkSettings, OciDefaults, OciHooks, PemCertificate,
NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +23,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-k8s-1.26/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings,
ContainerRuntimeSettings, DnsSettings, HostContainer, KubernetesSettings, MetricsSettings,
NetworkSettings, OciDefaults, OciHooks, PemCertificate,
NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +23,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-k8s-1.30-nvidia/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings,
ContainerRuntimeSettings, DnsSettings, HostContainer, KubernetesSettings, MetricsSettings,
NetworkSettings, OciDefaults, OciHooks, PemCertificate,
NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +23,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/aws-k8s-1.30/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
AutoScalingSettings, BootSettings, BootstrapContainer, CloudFormationSettings,
ContainerRuntimeSettings, DnsSettings, HostContainer, KubernetesSettings, MetricsSettings,
NetworkSettings, OciDefaults, OciHooks, PemCertificate,
NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -23,7 +23,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/metal-dev/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashMap;

use crate::{
BootSettings, BootstrapContainer, DnsSettings, HostContainer, MetricsSettings, NetworkSettings,
OciHooks, PemCertificate,
OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -20,7 +20,7 @@ struct Settings {
kernel: settings_extension_kernel::KernelSettingsV1,
boot: BootSettings,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_hooks: OciHooks,
dns: DnsSettings,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/metal-k8s-1.29/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashMap;

use crate::{
BootSettings, BootstrapContainer, ContainerRuntimeSettings, DnsSettings, HostContainer,
KubernetesSettings, MetricsSettings, NetworkSettings, OciDefaults, OciHooks, PemCertificate,
KubernetesSettings, MetricsSettings, NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -22,7 +22,7 @@ struct Settings {
boot: BootSettings,
aws: settings_extension_aws::AwsSettingsV1,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/vmware-dev/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashMap;

use crate::{
BootSettings, BootstrapContainer, DnsSettings, HostContainer, MetricsSettings, NetworkSettings,
OciHooks, PemCertificate,
OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -20,7 +20,7 @@ struct Settings {
kernel: settings_extension_kernel::KernelSettingsV1,
boot: BootSettings,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_hooks: OciHooks,
dns: DnsSettings,
Expand Down
4 changes: 2 additions & 2 deletions sources/models/src/vmware-k8s-1.30/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashMap;

use crate::{
BootSettings, BootstrapContainer, ContainerRuntimeSettings, DnsSettings, HostContainer,
KubernetesSettings, MetricsSettings, NetworkSettings, OciDefaults, OciHooks, PemCertificate,
KubernetesSettings, MetricsSettings, NetworkSettings, OciDefaults, OciHooks,
};
use modeled_types::Identifier;

Expand All @@ -22,7 +22,7 @@ struct Settings {
aws: settings_extension_aws::AwsSettingsV1,
boot: BootSettings,
metrics: MetricsSettings,
pki: HashMap<Identifier, PemCertificate>,
pki: settings_extension_pki::PkiSettingsV1,
container_registry: settings_extension_container_registry::RegistrySettingsV1,
oci_defaults: OciDefaults,
oci_hooks: OciHooks,
Expand Down

0 comments on commit d8fee2a

Please sign in to comment.