Skip to content

Commit

Permalink
Bump async-trait from 0.1.62 to 0.1.63 (pyrsia#1570)
Browse files Browse the repository at this point in the history
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.62 to 0.1.63.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](dtolnay/async-trait@0.1.62...0.1.63)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

add vscode repo pod
  • Loading branch information
dependabot[bot] authored and sbtaylor15 committed Feb 3, 2023
1 parent e04715f commit 83b107f
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 3 deletions.
7 changes: 4 additions & 3 deletions installers/docker/NginxGcsFuse.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ RUN apt-get update; \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -; \
apt-get update; \
apt-get install -y gcsfuse nginx;

RUN rm -rf /var/www/html; \
mkdir -p /var/www/html; \
sed -i "s/#user_allow_other/user_allow_other/" /etc/fuse.conf; \
echo "debrepo /var/www/html gcsfuse rw,_netdev,allow_other,implicit_dirs,file_mode=777,dir_mode=777" >> /etc/fstab; \
echo "helmrepo /var/www/html gcsfuse rw,_netdev,allow_other,implicit_dirs,file_mode=777,dir_mode=777" >> /etc/fstab; \
echo "homebrewrepo /var/www/html gcsfuse rw,_netdev,allow_other,implicit_dirs,file_mode=777,dir_mode=777" >> /etc/fstab; \
echo "winrepo /var/www/html gcsfuse rw,_netdev,allow_other,implicit_dirs,file_mode=777,dir_mode=777" >> /etc/fstab
echo "winrepo /var/www/html gcsfuse rw,_netdev,allow_other,implicit_dirs,file_mode=777,dir_mode=777" >> /etc/fstab; \
echo "vsrepo /var/www/html gcsfuse rw,_netdev,allow_other,implicit_dirs,file_mode=777,dir_mode=777" >> /etc/fstab

RUN ln -sf /dev/stdout /var/log/nginx/access.log; \
ln -sf /dev/stderr /var/log/nginx/error.log

CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]
22 changes: 22 additions & 0 deletions installers/helm/pyrsia-vsrepo/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
6 changes: 6 additions & 0 deletions installers/helm/pyrsia-vsrepo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: v1
appVersion: "1.0"
description: nginx front end for the vscode GCS Bucket
name: vsrepo-nginx
version: 1.0.0
32 changes: 32 additions & 0 deletions installers/helm/pyrsia-vsrepo/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "vsrepo-nginx.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "vsrepo-nginx.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "vsrepo-nginx.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
38 changes: 38 additions & 0 deletions installers/helm/pyrsia-vsrepo/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "vsrepo-nginx.name" . }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ include "vsrepo-nginx.name" . }}
tier: frontend
track: stable
template:
metadata:
labels:
app: vsrepo-nginx
tier: frontend
track: stable
spec:
containers:
- name: {{ include "vsrepo-nginx.name" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
securityContext:
privileged: true
capabilities:
add:
- SYS_ADMIN
lifecycle:
postStart:
exec:
command: ["mount", "vsrepo"]
preStop:
exec:
command: ["fusermount", "-u", "/var/www/html"]
23 changes: 23 additions & 0 deletions installers/helm/pyrsia-vsrepo/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "vsrepo-nginx.name" . }}
annotations:
kubernetes.io/ingress.global-static-ip-name: {{ include "vsrepo-nginx.name" . }}
networking.gke.io/managed-certificates: managed-cert-vsrepo
networking.gke.io/v1beta1.FrontendConfig: {{ include "vsrepo-nginx.name" . }}
spec:
defaultBackend:
service:
name: {{ include "vsrepo-nginx.name" . }}
port:
number: 80
---
apiVersion: networking.gke.io/v1beta1
kind: FrontendConfig
metadata:
name: {{ include "vsrepo-nginx.name" . }}
spec:
redirectToHttps:
enabled: true
8 changes: 8 additions & 0 deletions installers/helm/pyrsia-vsrepo/templates/managed-cert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: networking.gke.io/v1
kind: ManagedCertificate
metadata:
name: managed-cert-vsrepo
spec:
domains:
- vscode.pyrsia.io
14 changes: 14 additions & 0 deletions installers/helm/pyrsia-vsrepo/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
kind: Service
apiVersion: v1
metadata:
name: {{ include "vsrepo-nginx.name" . }}
spec:
selector:
app: {{ include "vsrepo-nginx.name" . }}
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
type: NodePort
7 changes: 7 additions & 0 deletions installers/helm/pyrsia-vsrepo/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
replicaCount: 1

image:
repository: sbtaylor15/nginx-gcsfuse
tag: latest
pullPolicy: Always

0 comments on commit 83b107f

Please sign in to comment.