Skip to content

Commit

Permalink
insecure
Browse files Browse the repository at this point in the history
  • Loading branch information
briansunter committed Jun 16, 2024
1 parent b46618b commit 23f5be0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 41 deletions.
4 changes: 3 additions & 1 deletion manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ spec:
[
"--dockerfile=Dockerfile",
"--context=git://github.com/briansunter/graph.git#refs/heads/kube",
"--destination=harbor.bsunter.net/graph/site:latest",
"--destination=harbor-registry:5000/graph/site:latest",
"--skip-tls-verify",
"--insecure",
]
volumeMounts:
- name: kaniko-secret
Expand Down
40 changes: 0 additions & 40 deletions manifests/nginx-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 1
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
hostAliases:
- ip: "127.0.0.1"
hostnames:
- "harbor.bsunter.net"
containers:
- name: nginx
image: harbor.bsunter.net/graph/site:latest
volumeMounts:
- name: dist
mountPath: /usr/share/nginx/html
- name: kaniko-secret
mountPath: /kaniko/.docker
securityContext:
privileged: true
restartPolicy: Always
volumes:
- name: dist
emptyDir: {}
- name: kaniko-secret
secret:
secretName: regcred
items:
- key: .dockerconfigjson
path: config.json
imagePullSecrets:
- name: regcred

0 comments on commit 23f5be0

Please sign in to comment.