Skip to content

Commit 57ac2df

Browse files
authored
Merge branch 'main' into script-consolidation
2 parents 08f01bd + 7574e55 commit 57ac2df

File tree

75 files changed

+967
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+967
-4
lines changed

.one-pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ containerize:
8585
8686
# instruct bash to exit if any command fails
8787
set -e
88-
88+
8989
./scripts/pipeline/containerize-stage.sh
9090
9191
sign-artifact:
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
apiVersion: kuttl.dev/v1beta1
2+
kind: TestAssert
3+
timeout: 60
4+
---
5+
apiVersion: networking.k8s.io/v1
6+
kind: NetworkPolicy
7+
metadata:
8+
name: network-policy-frontend-rc
9+
spec:
10+
ingress:
11+
- from:
12+
- namespaceSelector: {}
13+
ports:
14+
- port: 9080
15+
protocol: TCP
16+
- port: 9443
17+
protocol: TCP
18+
podSelector:
19+
matchLabels:
20+
liberty.websphere.ibm.com/name: network-policy-frontend-rc
21+
policyTypes:
22+
- Ingress
23+
---
24+
apiVersion: networking.k8s.io/v1
25+
kind: NetworkPolicy
26+
metadata:
27+
name: network-policy-backend-rc
28+
spec:
29+
ingress:
30+
- from:
31+
- podSelector:
32+
matchLabels:
33+
app.kubernetes.io/part-of: network-policy-test
34+
ports:
35+
- port: 9080
36+
protocol: TCP
37+
- port: 9443
38+
protocol: TCP
39+
podSelector:
40+
matchLabels:
41+
liberty.websphere.ibm.com/name: network-policy-backend-rc
42+
policyTypes:
43+
- Ingress
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
apiVersion: liberty.websphere.ibm.com/v1
2+
kind: WebSphereLibertyApplication
3+
metadata:
4+
name: network-policy-frontend-rc
5+
spec:
6+
license:
7+
accept: true
8+
applicationName: network-policy-test
9+
applicationImage: k8s.gcr.io/pause:2.0
10+
expose: true
11+
service:
12+
port: 9080
13+
ports:
14+
- port: 9443
15+
protocol: TCP
16+
---
17+
apiVersion: liberty.websphere.ibm.com/v1
18+
kind: WebSphereLibertyApplication
19+
metadata:
20+
name: network-policy-backend-rc
21+
spec:
22+
license:
23+
accept: true
24+
applicationName: network-policy-test
25+
applicationImage: k8s.gcr.io/pause:2.0
26+
service:
27+
port: 9080
28+
ports:
29+
- port: 9443
30+
protocol: TCP
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: kuttl.dev/v1beta1
2+
kind: TestAssert
3+
timeout: 60
4+
---
5+
apiVersion: networking.k8s.io/v1
6+
kind: NetworkPolicy
7+
metadata:
8+
name: network-policy-rc
9+
spec:
10+
ingress:
11+
- from:
12+
- podSelector:
13+
matchLabels:
14+
app.kubernetes.io/part-of: network-policy-rc
15+
ports:
16+
- port: 8080
17+
protocol: TCP
18+
podSelector:
19+
matchLabels:
20+
liberty.websphere.ibm.com/name: network-policy-rc
21+
policyTypes:
22+
- Ingress
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: liberty.websphere.ibm.com/v1
2+
kind: WebSphereLibertyApplication
3+
metadata:
4+
name: network-policy-rc
5+
spec:
6+
license:
7+
accept: true
8+
applicationImage: k8s.gcr.io/pause:2.0
9+
service:
10+
port: 8080
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: kuttl.dev/v1beta1
2+
kind: TestAssert
3+
timeout: 60
4+
---
5+
apiVersion: networking.k8s.io/v1
6+
kind: NetworkPolicy
7+
metadata:
8+
name: network-policy-rc
9+
spec:
10+
ingress:
11+
- from:
12+
- namespaceSelector: {}
13+
ports:
14+
- port: 8080
15+
protocol: TCP
16+
- port: 9090
17+
protocol: TCP
18+
podSelector:
19+
matchLabels:
20+
liberty.websphere.ibm.com/name: network-policy-rc
21+
policyTypes:
22+
- Ingress
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: liberty.websphere.ibm.com/v1
2+
kind: WebSphereLibertyApplication
3+
metadata:
4+
name: network-policy-rc
5+
spec:
6+
license:
7+
accept: true
8+
applicationImage: k8s.gcr.io/pause:2.0
9+
expose: true
10+
service:
11+
port: 8080
12+
ports:
13+
- port: 9090
14+
protocol: TCP
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: kuttl.dev/v1beta1
2+
kind: TestAssert
3+
timeout: 60
4+
---
5+
apiVersion: networking.k8s.io/v1
6+
kind: NetworkPolicy
7+
metadata:
8+
name: network-policy-rc
9+
spec:
10+
ingress:
11+
- from:
12+
- namespaceSelector: {}
13+
ports:
14+
- port: 8080
15+
protocol: TCP
16+
- port: 9090
17+
protocol: TCP
18+
- port: 9091
19+
protocol: TCP
20+
podSelector:
21+
matchLabels:
22+
liberty.websphere.ibm.com/name: network-policy-rc
23+
policyTypes:
24+
- Ingress
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: liberty.websphere.ibm.com/v1
2+
kind: WebSphereLibertyApplication
3+
metadata:
4+
name: network-policy-rc
5+
spec:
6+
license:
7+
accept: true
8+
applicationImage: k8s.gcr.io/pause:2.0
9+
expose: true
10+
service:
11+
port: 8080
12+
ports:
13+
- port: 9090
14+
protocol: TCP
15+
- port: 9091
16+
protocol: TCP
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: kuttl.dev/v1beta1
2+
kind: TestAssert
3+
timeout: 60
4+
---
5+
apiVersion: networking.k8s.io/v1
6+
kind: NetworkPolicy
7+
metadata:
8+
name: network-policy-rc
9+
spec:
10+
ingress:
11+
- from:
12+
- namespaceSelector: {}
13+
ports:
14+
- port: 8080
15+
protocol: TCP
16+
podSelector:
17+
matchLabels:
18+
liberty.websphere.ibm.com/name: network-policy-rc
19+
policyTypes:
20+
- Ingress

0 commit comments

Comments
 (0)