Skip to content

Commit

Permalink
Allow for secure deployments by default. (#1019)
Browse files Browse the repository at this point in the history
* Allow for secure deployments by default.

* Restored data added during testing to original state.

* Updated demo chart README.md.

* Added additional comments to values.yaml to illustrate how the new feature can be used.

* Executed "make generate-examples" and pushing results.
  • Loading branch information
LouisParkin authored Jan 29, 2024
1 parent a32107e commit 694104b
Show file tree
Hide file tree
Showing 22 changed files with 250 additions and 230 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: opentelemetry-demo
version: 0.28.0
version: 0.28.1
description: opentelemetry demo helm chart
home: https://opentelemetry.io/
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/opentelemetry-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ component.
| `schedulingRules.affinity` | Man of node/pod affinities | `{}` |
| `schedulingRules.tolerations` | Tolerations for pod assignment | `[]` |
| `securityContext` | Container security context to define user ID (UID), group ID (GID) and other security policies | `{}` |
| `podSecurityContext` | Pod security context to define user ID (UID), group ID (GID) and other security policies | `{}` |
| `podAnnotations` | Pod annotations for this component | `{}` |
| `ingress.enabled` | Enable the creation of Ingress rules | `false` |
| `ingress.annotations` | Annotations to add to the ingress rule | `{}` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Service
metadata:
name: example-adservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-adservice
app.kubernetes.io/instance: example
Expand All @@ -30,7 +30,7 @@ kind: Service
metadata:
name: example-cartservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-cartservice
app.kubernetes.io/instance: example
Expand All @@ -55,7 +55,7 @@ kind: Service
metadata:
name: example-checkoutservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-checkoutservice
app.kubernetes.io/instance: example
Expand All @@ -80,7 +80,7 @@ kind: Service
metadata:
name: example-currencyservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-currencyservice
app.kubernetes.io/instance: example
Expand All @@ -105,7 +105,7 @@ kind: Service
metadata:
name: example-emailservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-emailservice
app.kubernetes.io/instance: example
Expand All @@ -130,7 +130,7 @@ kind: Service
metadata:
name: example-featureflagservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-featureflagservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -158,7 +158,7 @@ kind: Service
metadata:
name: example-ffspostgres
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-ffspostgres
app.kubernetes.io/instance: example
Expand All @@ -183,7 +183,7 @@ kind: Service
metadata:
name: example-frontend
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-frontend
app.kubernetes.io/instance: example
Expand All @@ -208,7 +208,7 @@ kind: Service
metadata:
name: example-frontendproxy
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-frontendproxy
app.kubernetes.io/instance: example
Expand All @@ -233,7 +233,7 @@ kind: Service
metadata:
name: example-kafka
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-kafka
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -261,7 +261,7 @@ kind: Service
metadata:
name: example-loadgenerator
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-loadgenerator
app.kubernetes.io/instance: example
Expand All @@ -286,7 +286,7 @@ kind: Service
metadata:
name: example-paymentservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-paymentservice
app.kubernetes.io/instance: example
Expand All @@ -311,7 +311,7 @@ kind: Service
metadata:
name: example-productcatalogservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-productcatalogservice
app.kubernetes.io/instance: example
Expand All @@ -336,7 +336,7 @@ kind: Service
metadata:
name: example-quoteservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-quoteservice
app.kubernetes.io/instance: example
Expand All @@ -361,7 +361,7 @@ kind: Service
metadata:
name: example-recommendationservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-recommendationservice
app.kubernetes.io/instance: example
Expand All @@ -386,7 +386,7 @@ kind: Service
metadata:
name: example-redis
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-redis
app.kubernetes.io/instance: example
Expand All @@ -411,7 +411,7 @@ kind: Service
metadata:
name: example-shippingservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-shippingservice
app.kubernetes.io/instance: example
Expand All @@ -436,7 +436,7 @@ kind: Deployment
metadata:
name: example-accountingservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-accountingservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -501,7 +501,7 @@ kind: Deployment
metadata:
name: example-adservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-adservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -566,7 +566,7 @@ kind: Deployment
metadata:
name: example-cartservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-cartservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -641,7 +641,7 @@ kind: Deployment
metadata:
name: example-checkoutservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-checkoutservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -724,7 +724,7 @@ kind: Deployment
metadata:
name: example-currencyservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-currencyservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -785,7 +785,7 @@ kind: Deployment
metadata:
name: example-emailservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-emailservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -848,7 +848,7 @@ kind: Deployment
metadata:
name: example-featureflagservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-featureflagservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -931,7 +931,7 @@ kind: Deployment
metadata:
name: example-ffspostgres
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-ffspostgres
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -998,7 +998,7 @@ kind: Deployment
metadata:
name: example-frauddetectionservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-frauddetectionservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1063,7 +1063,7 @@ kind: Deployment
metadata:
name: example-frontend
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-frontend
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1148,7 +1148,7 @@ kind: Deployment
metadata:
name: example-frontendproxy
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-frontendproxy
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1237,7 +1237,7 @@ kind: Deployment
metadata:
name: example-kafka
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-kafka
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1306,7 +1306,7 @@ kind: Deployment
metadata:
name: example-loadgenerator
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-loadgenerator
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1379,7 +1379,7 @@ kind: Deployment
metadata:
name: example-paymentservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-paymentservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1444,7 +1444,7 @@ kind: Deployment
metadata:
name: example-productcatalogservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-productcatalogservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1507,7 +1507,7 @@ kind: Deployment
metadata:
name: example-quoteservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-quoteservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1574,7 +1574,7 @@ kind: Deployment
metadata:
name: example-recommendationservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-recommendationservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1643,7 +1643,7 @@ kind: Deployment
metadata:
name: example-redis
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-redis
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1704,7 +1704,7 @@ kind: Deployment
metadata:
name: example-shippingservice
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example-shippingservice
app.kubernetes.io/instance: example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-demo-0.28.0
helm.sh/chart: opentelemetry-demo-0.28.1

opentelemetry.io/name: example
app.kubernetes.io/instance: example
Expand Down
Loading

0 comments on commit 694104b

Please sign in to comment.