-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #321 from beraldoleal/new-main
Sync main with peer-pods-tech-preview
- Loading branch information
Showing
35 changed files
with
3,647 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
config/manifests/extension-crds/confidentialcontainers.org_peerpodconfigs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.10.0 | ||
creationTimestamp: null | ||
name: peerpodconfigs.confidentialcontainers.org | ||
spec: | ||
group: confidentialcontainers.org | ||
names: | ||
kind: PeerPodConfig | ||
listKind: PeerPodConfigList | ||
plural: peerpodconfigs | ||
singular: peerpodconfig | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: PeerPodConfig is the Schema for the peerpodconfigs API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: PeerPodConfigSpec defines the desired state of PeerPodConfig | ||
properties: | ||
cloudSecretName: | ||
default: peer-pods-secret | ||
description: CloudSecretName is the name of the secret that holds | ||
the credentials for the cloud provider | ||
type: string | ||
configMapName: | ||
default: peer-pods-cm | ||
description: ConfigMapName is the name of the configmap that holds | ||
cloud provider specific environment Variables | ||
type: string | ||
instanceType: | ||
description: InstanceType describes the name of the instance type | ||
of the chosen cloud provider | ||
type: string | ||
limit: | ||
description: Limit is the max number of peer pods. This is exposed | ||
as extended resource on nodes | ||
type: string | ||
nodeSelector: | ||
additionalProperties: | ||
type: string | ||
description: NodeSelector selects the nodes on which to run the cloud-api-adaptor | ||
pods | ||
type: object | ||
required: | ||
- cloudSecretName | ||
- configMapName | ||
type: object | ||
status: | ||
description: PeerPodConfigStatus defines the observed state of PeerPodConfig | ||
properties: | ||
setupCompleted: | ||
description: SetupCompleted is set to true when all components have | ||
been deployed/created | ||
type: boolean | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
53 changes: 53 additions & 0 deletions
53
config/manifests/extension-crds/confidentialcontainers.org_peerpods.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.10.0 | ||
creationTimestamp: null | ||
name: peerpods.confidentialcontainers.org | ||
spec: | ||
group: confidentialcontainers.org | ||
names: | ||
kind: PeerPod | ||
listKind: PeerPodList | ||
plural: peerpods | ||
singular: peerpod | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: PeerPod is the Schema for the peerpods API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: PeerPodSpec defines the desired state of PeerPod | ||
properties: | ||
cloudProvider: | ||
type: string | ||
instanceID: | ||
type: string | ||
type: object | ||
status: | ||
description: PeerPodStatus defines the observed state of PeerPod | ||
properties: | ||
cleand: | ||
type: boolean | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- confidentialcontainers.org_peerpodconfigs.yaml | ||
- confidentialcontainers.org_peerpods.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: controller-manager | ||
spec: | ||
containers: | ||
image: quay.io/openshift_sandboxed_containers/osc-peer-pods | ||
newTag: latest | ||
|
Oops, something went wrong.