Skip to content

Commit

Permalink
fix kustomize build output
Browse files Browse the repository at this point in the history
  • Loading branch information
cmurphy committed Sep 17, 2020
1 parent bf28e91 commit 1ae56c7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 34 deletions.
25 changes: 7 additions & 18 deletions deploy/namespace-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ spec:
spec:
containers:
- env:
- name: RESTRICT_TO_NAMESPACE
value: NS_REPLACE
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: RESTRICT_TO_NAMESPACE
value: NS_REPLACE
image: gcr.io/k8s-staging-seccomp-operator/seccomp-operator:latest
imagePullPolicy: Always
name: seccomp-operator
Expand Down Expand Up @@ -214,18 +214,13 @@ spec:
- name: v1alpha1
schema:
openAPIV3Schema:
description: SeccompProfile is a cluster level specification for a seccomp
profile. See https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#seccomp
description: SeccompProfile is a cluster level specification for a seccomp profile. See https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#seccomp
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'
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'
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
Expand Down Expand Up @@ -280,11 +275,7 @@ spec:
type: string
type: array
syscalls:
description: match a syscall in seccomp. While this property is OPTIONAL,
some values of defaultAction are not useful without syscalls entries.
For example, if defaultAction is SCMP_ACT_KILL and syscalls is empty
or unset, the kernel will kill the container process on its first
syscall
description: match a syscall in seccomp. While this property is OPTIONAL, some values of defaultAction are not useful without syscalls entries. For example, if defaultAction is SCMP_ACT_KILL and syscalls is empty or unset, the kernel will kill the container process on its first syscall
items:
description: Syscall defines a syscall in seccomp.
properties:
Expand Down Expand Up @@ -336,9 +327,7 @@ spec:
type: object
type: array
errnoRet:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
description: the errno return code to use. Some actions like SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno code to return
type: string
names:
description: the names of the syscalls
Expand Down
21 changes: 5 additions & 16 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,18 +212,13 @@ spec:
- name: v1alpha1
schema:
openAPIV3Schema:
description: SeccompProfile is a cluster level specification for a seccomp
profile. See https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#seccomp
description: SeccompProfile is a cluster level specification for a seccomp profile. See https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#seccomp
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'
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'
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
Expand Down Expand Up @@ -278,11 +273,7 @@ spec:
type: string
type: array
syscalls:
description: match a syscall in seccomp. While this property is OPTIONAL,
some values of defaultAction are not useful without syscalls entries.
For example, if defaultAction is SCMP_ACT_KILL and syscalls is empty
or unset, the kernel will kill the container process on its first
syscall
description: match a syscall in seccomp. While this property is OPTIONAL, some values of defaultAction are not useful without syscalls entries. For example, if defaultAction is SCMP_ACT_KILL and syscalls is empty or unset, the kernel will kill the container process on its first syscall
items:
description: Syscall defines a syscall in seccomp.
properties:
Expand Down Expand Up @@ -334,9 +325,7 @@ spec:
type: object
type: array
errnoRet:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
description: the errno return code to use. Some actions like SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno code to return
type: string
names:
description: the names of the syscalls
Expand Down

0 comments on commit 1ae56c7

Please sign in to comment.