-
Notifications
You must be signed in to change notification settings - Fork 1
tests: adding basic tests #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
ef003db
3b00303
f6608b2
f7787c4
dd12c5f
be103e8
b836a76
aaa2deb
f36f214
bec9182
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,16 +9,16 @@ metadata: | |
| app.kubernetes.io/created-by: airlock | ||
| app.kubernetes.io/part-of: airlock | ||
| app.kubernetes.io/managed-by: kustomize | ||
| name: system | ||
| name: airlock-system | ||
| --- | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: controller-manager | ||
| namespace: system | ||
| namespace: airlock-system | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't get why those changes to the namespace is needed. In config/default/kustomization.yaml, there is so all resources here will go to that namespace, and be named correctly.....
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll revert. Did this before saw the kustomize file |
||
| labels: | ||
| control-plane: controller-manager | ||
| app.kubernetes.io/name: deployment | ||
| app.kubernetes.io/name: airlock | ||
| app.kubernetes.io/instance: controller-manager | ||
| app.kubernetes.io/component: manager | ||
| app.kubernetes.io/created-by: airlock | ||
|
|
@@ -35,6 +35,7 @@ spec: | |
| kubectl.kubernetes.io/default-container: manager | ||
| labels: | ||
| control-plane: controller-manager | ||
| app.kubernetes.io/name: airlock | ||
| spec: | ||
| # TODO(user): Uncomment the following code to configure the nodeAffinity expression | ||
| # according to the platforms which are supported by your solution. | ||
|
|
@@ -70,8 +71,8 @@ spec: | |
| - /manager | ||
| args: | ||
| - --leader-elect | ||
| image: controller:latest | ||
| imagePullPolicy: Always | ||
| image: docker.io/library/controller:latest | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. erm, why change this?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will revert. Was checking something.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will revert. Was checking something. |
||
| imagePullPolicy: IfNotPresent | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and this?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pull policy yes needs changing because I'm importing image to k3d, and always policy will not use that image but try to pull
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pull policy yes needs changing because I'm importing image to k3d, and always policy will not use that image but try to pull
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pull policy yes needs changing because I'm importing image to k3d, and always policy will not use that image but try to pull |
||
| name: manager | ||
| securityContext: | ||
| allowPrivilegeEscalation: false | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,4 +16,4 @@ roleRef: | |
| subjects: | ||
| - kind: ServiceAccount | ||
| name: controller-manager | ||
| namespace: system | ||
| namespace: airlock-system | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,4 +16,4 @@ roleRef: | |
| subjects: | ||
| - kind: ServiceAccount | ||
| name: controller-manager | ||
| namespace: system | ||
| namespace: airlock-system | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,4 +16,4 @@ roleRef: | |
| subjects: | ||
| - kind: ServiceAccount | ||
| name: controller-manager | ||
| namespace: system | ||
| namespace: airlock-system | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this will break, it will be called airlock-airlock-system