Loading src/tests/tools/firewall_agent/DeploymentSet.yaml +19 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ spec: - name: firewall-agent image: firewall-agent:dev #image: localhost:32000/tfs/firewall-agent:dev imagePullPolicy: Always securityContext: capabilities: add: ["NET_ADMIN"] # like --cap-add=NET_ADMIN Loading @@ -52,3 +53,21 @@ spec: port: 8888 initialDelaySeconds: 5 timeoutSeconds: 1 ## Service not needed as pod is directly exposed on host network #--- #apiVersion: v1 #kind: Service #metadata: # name: firewall-agent # labels: # app: firewall-agent #spec: # type: NodePort # selector: # app: firewall-agent # ports: # - name: mgmt # protocol: TCP # port: 8888 # targetPort: 8888 # nodePort: 30888 Loading
src/tests/tools/firewall_agent/DeploymentSet.yaml +19 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ spec: - name: firewall-agent image: firewall-agent:dev #image: localhost:32000/tfs/firewall-agent:dev imagePullPolicy: Always securityContext: capabilities: add: ["NET_ADMIN"] # like --cap-add=NET_ADMIN Loading @@ -52,3 +53,21 @@ spec: port: 8888 initialDelaySeconds: 5 timeoutSeconds: 1 ## Service not needed as pod is directly exposed on host network #--- #apiVersion: v1 #kind: Service #metadata: # name: firewall-agent # labels: # app: firewall-agent #spec: # type: NodePort # selector: # app: firewall-agent # ports: # - name: mgmt # protocol: TCP # port: 8888 # targetPort: 8888 # nodePort: 30888