Skip to content

Commit

Permalink
Refactor enforcing to enforce
Browse files Browse the repository at this point in the history
  • Loading branch information
jesmg authored and angelbarrera92 committed Apr 24, 2021
1 parent 483bbb9 commit 732a90c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployments/helm/k8spin-operator/crds/space.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
type: string
memory:
type: string
enforcing:
enforce:
type: object
properties:
runtimeClassName:
Expand Down
2 changes: 1 addition & 1 deletion deployments/kubernetes/crds/space.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
type: string
memory:
type: string
enforcing:
enforce:
type: object
properties:
runtimeClassName:
Expand Down
2 changes: 1 addition & 1 deletion k8spin_common/k8spin_common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ def get_allow_incoming_network(self) -> list:

@property
def runtime(self) -> str:
return self.obj["spec"]["containers"].get("enforcing", {}).get("runtimeClassName")
return self.obj["spec"]["containers"].get("enforce", {}).get("runtimeClassName")

0 comments on commit 732a90c

Please sign in to comment.