import { s__ } from '~/locale';

export const INVALID_CURRENT_ENVIRONMENT_NAME = '–';

export const PREDEFINED_NETWORK_POLICIES = [
  {
    name: 'drop-outbound',
    isEnabled: false,
    manifest: `---
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
  name: drop-outbound
spec:
  endpointSelector: {}
  egress:
  - {}`,
  },
  {
    name: 'allow-inbound-http',
    isEnabled: false,
    manifest: `---
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
  name: allow-inbound-http
spec:
  endpointSelector: {}
  ingress:
  - toPorts:
    - ports:
      - port: '80'
      - port: '443'`,
  },
];

export const ALL_ENVIRONMENT_NAME = s__('ThreatMonitoring|All Environments');
