-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bringing APIs and controllers from https://github.com/openstack-k8s-operators/dataplane-operator Dataplane commit: openstack-k8s-operators/dataplane-operator@270dc7e Signed-off-by: Fabricio Aguiar <[email protected]>
- Loading branch information
Showing
189 changed files
with
21,940 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Kustomize Build | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- config/samples/** | ||
jobs: | ||
kustomize: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.20.x | ||
- uses: actions/checkout@v4 | ||
with: | ||
# this fetches all branches. Needed because we need gh-pages branch for deploy to work | ||
fetch-depth: 0 | ||
- name: download kustomize | ||
run: | | ||
mkdir bin | ||
LINK=https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh | ||
curl -Ss $LINK | bash -s -- 5.0.1 ./bin | ||
- name: kustomize build | ||
run: | | ||
cd config/samples/dataplane | ||
for d in */ ; do | ||
echo "=============== $d ===============" | ||
../../../bin/kustomize build --load-restrictor LoadRestrictionsNone "$d" | ||
done |
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
150 changes: 150 additions & 0 deletions
150
apis/bases/dataplane.openstack.org_openstackdataplanedeployments.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,150 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.11.1 | ||
creationTimestamp: null | ||
name: openstackdataplanedeployments.dataplane.openstack.org | ||
spec: | ||
group: dataplane.openstack.org | ||
names: | ||
kind: OpenStackDataPlaneDeployment | ||
listKind: OpenStackDataPlaneDeploymentList | ||
plural: openstackdataplanedeployments | ||
shortNames: | ||
- osdpd | ||
- osdpdeployment | ||
- osdpdeployments | ||
singular: openstackdataplanedeployment | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: NodeSets | ||
jsonPath: .spec.nodeSets | ||
name: NodeSets | ||
type: string | ||
- description: Status | ||
jsonPath: .status.conditions[0].status | ||
name: Status | ||
type: string | ||
- description: Message | ||
jsonPath: .status.conditions[0].message | ||
name: Message | ||
type: string | ||
name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
type: string | ||
kind: | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
ansibleExtraVars: | ||
x-kubernetes-preserve-unknown-fields: true | ||
ansibleLimit: | ||
type: string | ||
ansibleSkipTags: | ||
type: string | ||
ansibleTags: | ||
type: string | ||
deploymentRequeueTime: | ||
default: 15 | ||
minimum: 1 | ||
type: integer | ||
nodeSets: | ||
items: | ||
type: string | ||
type: array | ||
servicesOverride: | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- deploymentRequeueTime | ||
- nodeSets | ||
type: object | ||
x-kubernetes-validations: | ||
- message: OpenStackDataPlaneDeployment Spec is immutable | ||
rule: self == oldSelf | ||
status: | ||
properties: | ||
conditions: | ||
items: | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
message: | ||
type: string | ||
reason: | ||
type: string | ||
severity: | ||
type: string | ||
status: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- lastTransitionTime | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
configMapHashes: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
containerImages: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
deployed: | ||
type: boolean | ||
deployedVersion: | ||
type: string | ||
nodeSetConditions: | ||
additionalProperties: | ||
items: | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
message: | ||
type: string | ||
reason: | ||
type: string | ||
severity: | ||
type: string | ||
status: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- lastTransitionTime | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
type: object | ||
nodeSetHashes: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
observedGeneration: | ||
format: int64 | ||
type: integer | ||
secretHashes: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.