File tree 5 files changed +128
-0
lines changed
5 files changed +128
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Patterns to ignore when building packages.
2
+ # This supports shell glob matching, relative path matching, and
3
+ # negation (prefixed with !). Only one pattern per line.
4
+ .DS_Store
5
+ # Common VCS dirs
6
+ .git/
7
+ .gitignore
8
+ .bzr/
9
+ .bzrignore
10
+ .hg/
11
+ .hgignore
12
+ .svn/
13
+ # Common backup files
14
+ *.swp
15
+ *.bak
16
+ *.tmp
17
+ *.orig
18
+ *~
19
+ # Various IDEs
20
+ .project
21
+ .idea/
22
+ *.tmproj
23
+ .vscode/
Original file line number Diff line number Diff line change
1
+ apiVersion : v2
2
+ name : newtxi
3
+ description : A Helm chart for Kubernetes
4
+
5
+ # A chart can be either an 'application' or a 'library' chart.
6
+ #
7
+ # Application charts are a collection of templates that can be packaged into versioned archives
8
+ # to be deployed.
9
+ #
10
+ # Library charts provide useful utilities or functions for the chart developer. They're included as
11
+ # a dependency of application charts to inject those utilities and functions into the rendering
12
+ # pipeline. Library charts do not define any templates and therefore cannot be deployed.
13
+ type : application
14
+
15
+ # This is the chart version. This version number should be incremented each time you make changes
16
+ # to the chart and its templates, including the app version.
17
+ # Versions are expected to follow Semantic Versioning (https://semver.org/)
18
+ version : 0.1.0
19
+
20
+ # This is the version number of the application being deployed. This version number should be
21
+ # incremented each time you make changes to the application. Versions are not expected to
22
+ # follow Semantic Versioning. They should reflect the version the application is using.
23
+ appVersion : 1.16.0
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Service
4
+ metadata :
5
+ name : newtxi
6
+ annotations :
7
+ service.beta.kubernetes.io/aws-load-balancer-backend-protocol : http
8
+ service.beta.kubernetes.io/aws-load-balancer-ssl-cert : arn:aws:acm:us-west-2:713548166849:certificate/812c5e03-0d22-4684-b47b-a864219d398b
9
+ service.beta.kubernetes.io/aws-load-balancer-ssl-ports : " https"
10
+ spec :
11
+ selector :
12
+ app : newtxi
13
+ ports :
14
+ - name : http
15
+ port : 80
16
+ targetPort : 3000
17
+ - name : https
18
+ port : 443
19
+ targetPort : 3000
20
+ type : LoadBalancer
21
+ ---
22
+ apiVersion : apps/v1
23
+ kind : Deployment
24
+ metadata : {name: newtxi}
25
+ spec :
26
+ replicas : 1
27
+ selector :
28
+ matchLabels : {app: newtxi}
29
+ strategy :
30
+ rollingUpdate : {maxSurge: 1, maxUnavailable: 0}
31
+ type : RollingUpdate
32
+ revisionHistoryLimit : 1
33
+ template :
34
+ metadata :
35
+ labels : {app: newtxi}
36
+ name : newtxi
37
+ spec :
38
+ containers :
39
+ - image : " {{ $.Values.image.repository }}:{{ $.Values.image.tag }}"
40
+ imagePullPolicy : IfNotPresent
41
+ name : newtxi
42
+ command : ["bundle"]
43
+ args : ["exec", "puma", "-C", "config/puma.rb"]
44
+ ports :
45
+ - containerPort : 3000
46
+ name : newtxi
47
+ envFrom :
48
+ - configMapRef :
49
+ name : newtxi
50
+ readinessProbe :
51
+ httpGet :
52
+ path : /
53
+ port : 3000
54
+ initialDelaySeconds : 5
55
+ resources :
56
+ limits :
57
+ memory : " 500Mi"
58
+ cpu : " 700m"
59
+ requests :
60
+ memory : " 500Mi"
61
+ cpu : " 700m"
62
+ terminationMessagePath : /dev/termination-log
63
+ dnsPolicy : ClusterFirst
64
+ restartPolicy : Always
65
+ securityContext : {}
66
+ terminationGracePeriodSeconds : 30
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : ConfigMap
4
+ metadata :
5
+ name : newtxi
6
+ data :
7
+ RAILS_ENV : production
8
+ DATABASE_URL : postgres://root:root@postgres:5432/newtxi_prod
9
+ PORT : " 3000"
10
+ RAILS_SERVE_STATIC_FILES : " true"
Original file line number Diff line number Diff line change
1
+ # Default values for newtxi.
2
+ # This is a YAML-formatted file.
3
+ # Declare variables to be passed into your templates.
4
+ image :
5
+ repository : 713548166849.dkr.ecr.us-west-2.amazonaws.com/newtxi
6
+ tag : " "
You can’t perform that action at this time.
0 commit comments