@Override
    public FlinkPod decorateFlinkPod(FlinkPod flinkPod) {
        final Container basicMainContainer =
                new ContainerBuilder(flinkPod.getMainContainer())
                        .addAllToEnv(getSecretEnvs())
                        .build();

        return new FlinkPod.Builder(flinkPod).withMainContainer(basicMainContainer).build();
    }
@Test
    void testWhetherPodOrContainerIsDecorated() {
        final FlinkPod resultFlinkPod = envSecretsDecorator.decorateFlinkPod(baseFlinkPod);
        List<EnvVar> envVarList = resultFlinkPod.getMainContainer().getEnv();

        assertThat(envVarList).extracting(EnvVar::getName).containsExactly(ENV_NAME);
    }