-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/single-table-job-fixes
- Loading branch information
Showing
10 changed files
with
90 additions
and
171 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: Build Squid images | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- .github/workflows/image_build_push_squid.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
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 |
---|---|---|
|
@@ -59,6 +59,7 @@ | |
.immport.org | ||
.jenkins.io | ||
.jenkins-ci.org | ||
.jetstack.io | ||
.k8s.io | ||
.kegg.jp | ||
.kidsfirstdrc.org | ||
|
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 was deleted.
Oops, something went wrong.
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 @@ | ||
# Prerequisites | ||
|
||
This service needs certmanager to work. Please install certmanager before deploying this service. Once certmanager is installed, you can deploy this service by applying the manifests in this directory. | ||
|
||
Code lives in https://github.com/uc-cdis/node-affinity-webhook/ |
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,28 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: node-affinity-daemonset | ||
namespace: kube-system | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: node-affinity-daemonset | ||
template: | ||
metadata: | ||
labels: | ||
app: node-affinity-daemonset | ||
spec: | ||
containers: | ||
- name: node-affinity-daemonset | ||
image: quay.io/cdis/node-affinity-daemonset:master | ||
ports: | ||
- containerPort: 8443 | ||
volumeMounts: | ||
- name: webhook-certs | ||
mountPath: /etc/webhook/certs | ||
readOnly: true | ||
volumes: | ||
- name: webhook-certs | ||
secret: | ||
secretName: webhook-certs #pragma: allowlist secret |
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,11 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: node-affinity-daemonset | ||
namespace: kube-system | ||
spec: | ||
ports: | ||
- port: 443 | ||
targetPort: 8443 | ||
selector: | ||
app: node-affinity-daemonset |
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,43 @@ | ||
apiVersion: admissionregistration.k8s.io/v1 | ||
kind: MutatingWebhookConfiguration | ||
metadata: | ||
name: node-affinity-daemonset | ||
cert-manager.io/inject-ca-from: kube-system/node-affinity-daemonset-cert | ||
webhooks: | ||
- name: node-affinity-daemonset.k8s.io | ||
clientConfig: | ||
service: | ||
name: node-affinity-daemonset | ||
namespace: kube-system | ||
path: "/mutate" | ||
rules: | ||
- operations: ["CREATE"] | ||
apiGroups: ["apps"] | ||
apiVersions: ["v1"] | ||
resources: ["daemonsets"] | ||
admissionReviewVersions: ["v1"] | ||
sideEffects: None | ||
|
||
--- | ||
|
||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: node-affinity-daemonset-cert | ||
namespace: kube-system | ||
spec: | ||
secretName: webhook-certs #pragma: allowlist secret | ||
dnsNames: | ||
- node-affinity-daemonset.kube-system.svc | ||
issuerRef: | ||
name: selfsigned | ||
|
||
--- | ||
|
||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: selfsigned | ||
namespace: kube-system | ||
spec: | ||
selfSigned: {} |