Skip to content

Commit

Permalink
fix(dns): name resolution issue with kubernetes (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauzigo authored Nov 20, 2019
1 parent f6dd168 commit d9d524e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kube/services/jobs/arborist-rm-expired-access-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ spec:
# run job to remove expired access from the database
/go/src/github.com/uc-cdis/arborist/jobs/delete_expired_access
restartPolicy: Never
dnsConfig:
options:
- name: use-vc
- name: single-request-reopen
dnsPolicy: ClusterFirst
5 changes: 5 additions & 0 deletions kube/services/jobs/arborist-rm-expired-access-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ spec:
app: gen3job
spec:
automountServiceAccountToken: false
dnsConfig:
options:
- name: use-vc
- name: single-request-reopen
dnsPolicy: ClusterFirst
volumes:
- name: arborist-secret
secret:
Expand Down

0 comments on commit d9d524e

Please sign in to comment.