Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

features - dotnet pe tester updates #178

Merged
merged 6 commits into from
Jul 25, 2024
Merged

Conversation

goncalvesj
Copy link
Owner

No description provided.

Comment on lines 1 to 50
apiVersion: apps/v1
kind: Deployment
metadata:
name: dotnet-pe-tester
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: dotnet-pe-tester
template:
metadata:
labels:
app: dotnet-pe-tester
annotations:
prometheus.io/scrape: 'true'
prometheus.io/path: '/metrics'
prometheus.io/port: '8080'
spec:
automountServiceAccountToken: false
containers:
- name: dotnet-pe-tester
image: ghcr.io/goncalvesj/dotnet-pe-tester:latest
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
env:
- name: APP_CONFIG_ENDPOINT
value: ""
- name: APP_CONFIG_ENDPOINT_KEY
value: ""
- name: POSTGRES_CONNECTIONSTRING
value: ""
- name: SQL_CONNECTIONSTRING
value: ""
- name: CACHE_CONNECTIONSTRING
value: ""
- name: STORAGE_CONNECTIONSTRING
value: ""
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
---

Check notice

Code scanning / checkov

The default namespace should not be used Note

The default namespace should not be used
Comment on lines 1 to 50
apiVersion: apps/v1
kind: Deployment
metadata:
name: dotnet-pe-tester
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: dotnet-pe-tester
template:
metadata:
labels:
app: dotnet-pe-tester
annotations:
prometheus.io/scrape: 'true'
prometheus.io/path: '/metrics'
prometheus.io/port: '8080'
spec:
automountServiceAccountToken: false
containers:
- name: dotnet-pe-tester
image: ghcr.io/goncalvesj/dotnet-pe-tester:latest
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
env:
- name: APP_CONFIG_ENDPOINT
value: ""
- name: APP_CONFIG_ENDPOINT_KEY
value: ""
- name: POSTGRES_CONNECTIONSTRING
value: ""
- name: SQL_CONNECTIONSTRING
value: ""
- name: CACHE_CONNECTIONSTRING
value: ""
- name: STORAGE_CONNECTIONSTRING
value: ""
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
---

Check notice

Code scanning / checkov

Image should use digest Note

Image should use digest
Comment on lines 1 to 50
apiVersion: apps/v1
kind: Deployment
metadata:
name: dotnet-pe-tester
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: dotnet-pe-tester
template:
metadata:
labels:
app: dotnet-pe-tester
annotations:
prometheus.io/scrape: 'true'
prometheus.io/path: '/metrics'
prometheus.io/port: '8080'
spec:
automountServiceAccountToken: false
containers:
- name: dotnet-pe-tester
image: ghcr.io/goncalvesj/dotnet-pe-tester:latest
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
env:
- name: APP_CONFIG_ENDPOINT
value: ""
- name: APP_CONFIG_ENDPOINT_KEY
value: ""
- name: POSTGRES_CONNECTIONSTRING
value: ""
- name: SQL_CONNECTIONSTRING
value: ""
- name: CACHE_CONNECTIONSTRING
value: ""
- name: STORAGE_CONNECTIONSTRING
value: ""
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
---

Check notice

Code scanning / checkov

Containers should run as a high UID to avoid host conflict Note

Containers should run as a high UID to avoid host conflict
Comment on lines 1 to 50
apiVersion: apps/v1
kind: Deployment
metadata:
name: dotnet-pe-tester
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: dotnet-pe-tester
template:
metadata:
labels:
app: dotnet-pe-tester
annotations:
prometheus.io/scrape: 'true'
prometheus.io/path: '/metrics'
prometheus.io/port: '8080'
spec:
automountServiceAccountToken: false
containers:
- name: dotnet-pe-tester
image: ghcr.io/goncalvesj/dotnet-pe-tester:latest
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
env:
- name: APP_CONFIG_ENDPOINT
value: ""
- name: APP_CONFIG_ENDPOINT_KEY
value: ""
- name: POSTGRES_CONNECTIONSTRING
value: ""
- name: SQL_CONNECTIONSTRING
value: ""
- name: CACHE_CONNECTIONSTRING
value: ""
- name: STORAGE_CONNECTIONSTRING
value: ""
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
---

Check notice

Code scanning / checkov

Ensure that the seccomp profile is set to docker/default or runtime/default Note

Ensure that the seccomp profile is set to docker/default or runtime/default
Comment on lines +51 to +62
apiVersion: v1
kind: Service
metadata:
name: dotnet-pe-tester
namespace: default
spec:
selector:
app: dotnet-pe-tester
type: ClusterIP
ports:
- port: 8080
targetPort: 8080

Check notice

Code scanning / checkov

The default namespace should not be used Note

The default namespace should not be used
Copy link

sonarcloud bot commented Jul 25, 2024

@goncalvesj goncalvesj merged commit f522baa into master Jul 25, 2024
11 checks passed
@goncalvesj goncalvesj deleted the features/dotnet-pe-tester branch July 25, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant